Update batch_size=1000 to general.batch_size in cfg

This commit is contained in:
2026-01-25 18:48:07 +03:00
parent 08fec0609f
commit bf4b4957ac

View File

@@ -484,7 +484,7 @@ class PostgreSQLClient:
storage = get_storage()
# Получаем необработанные сообщения из SQLite
unprocessed = storage.get_unprocessed_messages(limit=1000)
unprocessed = storage.get_unprocessed_messages(limit=config.general.batch_size)
if not unprocessed:
return 0