Skip to content

Commit

Permalink
explicitly delete list for batches
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Sep 25, 2023
1 parent 31ba211 commit 9ee1590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpcontribs-client/mpcontribs/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,7 @@ def put_future(pk, payload):
if post_chunk:
payload = ujson.dumps(post_chunk).encode("utf-8")
futures.append(post_future(idx, payload))
post_chunk.clear()
post_chunk = []
idx += 1
else:
logger.error(f"SKIPPED: contrib {project_name}/{n} too large.")
Expand Down

0 comments on commit 9ee1590

Please sign in to comment.