Skip to content

fix(sweeper): recover from exceptions in background sweep loop#12

Merged
35C4n0r merged 1 commit into
mainfrom
35C4n0r/fix-loop-silent-death
May 24, 2026
Merged

fix(sweeper): recover from exceptions in background sweep loop#12
35C4n0r merged 1 commit into
mainfrom
35C4n0r/fix-loop-silent-death

Conversation

@35C4n0r

@35C4n0r 35C4n0r commented May 24, 2026

Copy link
Copy Markdown
Owner
  • an unhandled exception from asweep() propagated out of _loop() and permanently killed the background task; any transient error (DB timeout, connection reset) silently stopped all future sweeps
  • catch Exception, log it with logger.exception (includes full traceback), and continue to the next cycle

- an unhandled exception from asweep() propagated out of _loop() and
  permanently killed the background task; any transient error (DB
  timeout, connection reset) silently stopped all future sweeps
- catch Exception, log it with logger.exception (includes full
  traceback), and continue to the next cycle
@35C4n0r 35C4n0r merged commit 58f7789 into main May 24, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant