mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-30 15:21:02 +00:00
fix: wrong default value of parameter parallel_executions for async_retry (#1545)
This commit is contained in:
parent
d9a60f9628
commit
dcb1bd35d0
@ -338,7 +338,7 @@ class BaseChat(ABC):
|
||||
|
||||
@async_retry(
|
||||
retries=CFG.DBGPT_APP_SCENE_NON_STREAMING_RETRIES_BASE,
|
||||
parallel_executions=CFG.DBGPT_APP_SCENE_NON_STREAMING_RETRIES_BASE,
|
||||
parallel_executions=CFG.DBGPT_APP_SCENE_NON_STREAMING_PARALLELISM_BASE,
|
||||
catch_exceptions=(Exception, BaseAppException),
|
||||
)
|
||||
async def _no_streaming_call_with_retry(self, payload):
|
||||
|
Loading…
Reference in New Issue
Block a user