From 5520dc6b2e712f9b28b1ac1fe8743b1100435952 Mon Sep 17 00:00:00 2001 From: Audionut Date: Sat, 28 Dec 2024 18:41:14 +1000 Subject: [PATCH] PTP - sleep before adding torrent --- src/trackerhandle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/trackerhandle.py b/src/trackerhandle.py index 132c0594..ec10aa7d 100644 --- a/src/trackerhandle.py +++ b/src/trackerhandle.py @@ -136,6 +136,7 @@ async def process_single_tracker(tracker): groupID = meta.get('ptp_groupID', None) ptpUrl, ptpData = await ptp.fill_upload_form(groupID, meta) await ptp.upload(meta, ptpUrl, ptpData, disctype) + await asyncio.sleep(5) await client.add_to_client(meta, "PTP") # Process all trackers concurrently