Added error control
This commit is contained in:
@@ -26,6 +26,7 @@ async def work(sleep_time):
|
|||||||
|
|
||||||
for deal in new_deals:
|
for deal in new_deals:
|
||||||
await helpers.send_deal(deal, model)
|
await helpers.send_deal(deal, model)
|
||||||
|
await asyncio.sleep(5)
|
||||||
|
|
||||||
await asyncio.sleep(sleep_time)
|
await asyncio.sleep(sleep_time)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user