Merge pull request #1107 from openreplay/v1.11.0-patch

feat(chalice): EE fixed user trail with multiple background tasks
This commit is contained in:
Kraiem Taha Yassine 2023-04-04 17:13:47 +01:00 committed by GitHub
commit bca0010854
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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():