ATProto: drop manual GC in polling

for #954
pull/1020/head
Ryan Barrett 2024-05-04 20:52:25 -07:00
rodzic 0911d71e76
commit c0e02210c6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
1 zmienionych plików z 0 dodań i 5 usunięć

Wyświetl plik

@ -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',