Skip to content

Commit

Permalink
update telegram_uploader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Sep 17, 2024
1 parent d479cbb commit 5795346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/helper/mirror_leech_utils/telegram_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ async def retry_copy(target, caption, retries=5):
except Exception as e:
LOGGER.error(f"Attempt {attempt + 1} failed: {e} {msg.id}")
if attempt < retries - 1:
await sleep(0.2)
await sleep(0.5)
LOGGER.error(f"Failed to copy message after {retries} attempts")

await retry_copy(self._user_id, cap_mono)
Expand Down

0 comments on commit 5795346

Please sign in to comment.