kopia lustrzana https://github.com/snarfed/bridgy-fed
rodzic
0911d71e76
commit
c0e02210c6
|
@ -2,7 +2,6 @@
|
|||
|
||||
https://atproto.com/
|
||||
"""
|
||||
import gc
|
||||
import itertools
|
||||
import logging
|
||||
import os
|
||||
|
@ -622,8 +621,6 @@ def poll_notifications():
|
|||
continue
|
||||
|
||||
logger.debug(f'Fetching notifs for {user.key.id()}')
|
||||
# feeble attempt to avoid hitting the instance memory limit
|
||||
gc.collect()
|
||||
|
||||
did = user.get_copy(ATProto)
|
||||
repo = repos[did]
|
||||
|
@ -690,8 +687,6 @@ def poll_posts():
|
|||
|
||||
did = user.key.id()
|
||||
logger.debug(f'Fetching posts for {did} {user.handle}')
|
||||
# feeble attempt to avoid hitting the instance memory limit
|
||||
gc.collect()
|
||||
|
||||
resp = appview.app.bsky.feed.getAuthorFeed(
|
||||
actor=did, filter='posts_no_replies',
|
||||
|
|
Ładowanie…
Reference in New Issue