Fix msgq context overrides (#33014)

* Fix msgq context overrides

* Remove unneccesary changes

* add reset_context helper

* Remove redundant import
old-commit-hash: c96dbd5a0b681c76b94191d1b928e29eb2b72119
This commit is contained in:
Kacper Rączy
2024-07-18 20:19:39 -07:00
committed by GitHub
parent 1b41470939
commit 4efe8d8118
7 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ def launcher(proc: str, name: str) -> None:
setthreadname(proc)
# create new context since we forked
messaging.context = messaging.Context()
messaging.reset_context()
# add daemon name tag to logs
cloudlog.bind(daemon=name)