This commit is contained in:
Nicolas Mowen 2024-12-12 07:11:29 -07:00
parent 2715fcaf23
commit 2b8ec3ebac

View File

@ -257,9 +257,6 @@ class EventCleanup(threading.Thread):
events_to_update = []
for batch in query.iterator():
try:
events_to_update.extend([event.id for event in batch])
except TypeError:
events_to_update.append(batch)
if len(events_to_update) >= CHUNK_SIZE: