Skip to content

Commit eb640f4

Browse files
committed
fix trackerhandle should be sequential
packs screens can get all messed up otherwise This function was being limited elsewhere (since it was 'working'), and recent updates have unlocked actual async it seems.
1 parent a7532d9 commit eb640f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/trackerhandle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,6 @@ async def process_single_tracker(tracker):
140140
await asyncio.sleep(5)
141141
await client.add_to_client(meta, "PTP")
142142

143-
# Process all trackers concurrently
144-
tasks = [process_single_tracker(tracker) for tracker in enabled_trackers]
145-
await asyncio.gather(*tasks)
143+
# Process each tracker sequentially
144+
for tracker in enabled_trackers:
145+
await process_single_tracker(tracker)

0 commit comments

Comments
 (0)