This commit is contained in:
2026-01-08 22:42:03 +01:00
parent 715be97289
commit e86e50ff8a
2 changed files with 1 additions and 4 deletions

View File

@@ -1,10 +1,8 @@
from __future__ import annotations
from typing import TYPE_CHECKING
import asyncio
from datetime import datetime
import gc
import traceback
import tracemalloc
from Classifier.classifyHelper import classify_all
from Database.x_classes import DownloadMode
@@ -62,7 +60,6 @@ async def download_loop(botData: RuntimeBotData):
for tweet in new_posts: #posts should arrive here in chronological order
await download_post(artist, tweet, botData)
gc.collect()
print(tracemalloc.get_traced_memory())
results[artist.name] = new_posts_count
if artist.download_mode == DownloadMode.DOWNLOAD_ALL: