Skip to content

Commit

Permalink
Merge pull request Ericsson#4075 from whisperity/feat/store/timeout-m…
Browse files Browse the repository at this point in the history
…essage

chore(store): Give a name to the timeout watchdog thread
  • Loading branch information
bruntib authored Nov 7, 2023
2 parents c34606a + 2a5d323 commit 4677ae6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/client/codechecker_client/cmd/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,7 @@ def _signal_handler(sig: int, frame):
pid = os.getpid()
timer = Timer(timeout.total_seconds(),
lambda: os.kill(pid, trap))
timer.name = "StoreTimeoutWatcher"
LOG.debug("Set up timer for %d seconds (%s) for PID %d",
timeout.total_seconds(), str(timeout), pid)
try:
Expand Down

0 comments on commit 4677ae6

Please sign in to comment.