feat(chalice): EE fixed user trail with multiple background tasks
(cherry picked from commit 16d8fbbbfd)
This commit is contained in:
parent
71f00ffabb
commit
7bce53bc1e
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ def trace(action: str, path_format: str, request: Request, response: Response):
|
|||
if response.background is None:
|
||||
response.background = background_task
|
||||
else:
|
||||
response.background.add_task(background_task.func, *background_task.args, *background_task.kwargs)
|
||||
response.background.add_task(background_task)
|
||||
|
||||
|
||||
async def process_traces_queue():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue