Add asynchronous socketio application server (#437)

* Add asynchronous socketio application server

* fix uv lock

* Update cors

* fix socket app
This commit is contained in:
Wu Clan
2024-11-02 00:12:01 +08:00
committed by GitHub
parent 0810647c48
commit 493c2b2545
13 changed files with 191 additions and 45 deletions
+1 -1
View File
@@ -6,4 +6,4 @@ from backend.core.conf import settings
def get_request_trace_id(request: Request) -> str:
return request.headers.get(settings.TRACE_ID_REQUEST_HEADER_KEY) or '-'
return request.headers.get(settings.TRACE_ID_REQUEST_HEADER_KEY) or settings.LOG_CID_DEFAULT_VALUE