From 420dfa671a5f1c24a501c5810835ec7b37bf2c50 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Mon, 17 Nov 2025 16:07:01 +0800 Subject: [PATCH] Continue... --- api/apps/sdk/chat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/apps/sdk/chat.py b/api/apps/sdk/chat.py index a2a70d6e2..9c436e7b3 100644 --- a/api/apps/sdk/chat.py +++ b/api/apps/sdk/chat.py @@ -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: