diff options
| author | Tolmachev Igor <me@igorek.dev> | 2026-03-24 00:02:07 +0300 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2026-03-24 00:02:07 +0300 |
| commit | 73e7d27b9da54cc9cc19b3f1e0fd44da226d6315 (patch) | |
| tree | efefc020fdd904ff549ba432d9a072f4375ea8c8 /libs/msg.py | |
| parent | f73db3718f0f5f3f74928fac8d5e6769937896d7 (diff) | |
| download | vpn_manager_bot-73e7d27b9da54cc9cc19b3f1e0fd44da226d6315.tar.gz vpn_manager_bot-73e7d27b9da54cc9cc19b3f1e0fd44da226d6315.zip | |
Add sleep on publishing
Diffstat (limited to 'libs/msg.py')
| -rw-r--r-- | libs/msg.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/msg.py b/libs/msg.py index a00dd0c..c55e78d 100644 --- a/libs/msg.py +++ b/libs/msg.py | |||
| @@ -26,6 +26,7 @@ async def publish_announcement( | |||
| 26 | await asyncio.sleep(0.2) | 26 | await asyncio.sleep(0.2) |
| 27 | 27 | ||
| 28 | yield n | 28 | yield n |
| 29 | await asyncio.sleep(0.2) | ||
| 29 | 30 | ||
| 30 | 31 | ||
| 31 | async def send_invoice( | 32 | async def send_invoice( |
| @@ -58,3 +59,4 @@ async def send_invoice( | |||
| 58 | await asyncio.sleep(0.2) | 59 | await asyncio.sleep(0.2) |
| 59 | 60 | ||
| 60 | yield n | 61 | yield n |
| 62 | await asyncio.sleep(0.2) | ||
