Continue...
This commit is contained in:
parent
14754a8451
commit
420dfa671a
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,7 @@
|
|||
#
|
||||
import logging
|
||||
|
||||
import trio
|
||||
from quart import request
|
||||
|
||||
from api.db.services.dialog_service import DialogService
|
||||
|
|
@ -253,6 +254,7 @@ async def delete(tenant_id):
|
|||
temp_dict = {"status": StatusEnum.INVALID.value}
|
||||
DialogService.update_by_id(id, temp_dict)
|
||||
success_count += 1
|
||||
await trio.sleep(1)
|
||||
|
||||
if errors:
|
||||
if success_count > 0:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue