Skip to content

fix(dispatcher): Clear healthcheck deadline timers - #43

Merged
jhoncool merged 1 commit into
gravity-ui:mainfrom
mulyk:DLAPI-1879-healthcheck-timer-cleanup
Nov 10, 2026
Merged

jhoncool merged 1 commit into
gravity-ui:mainfrom
mulyk:DLAPI-1879-healthcheck-timer-cleanup

Conversation

@mulyk

@mulyk mulyk commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

After the health check completed, the deadline timer from the losing branch of Promise.race remained active. Even after terminate(), it kept the process alive until the timeout expired, triggering Jest warnings in short test runs.

The timer handle is now stored locally and cleared in a finally block. Existing timeout behavior, error handling, and routing remain unchanged.

@jhoncool jhoncool changed the title DLAPI-1879: Clear healthcheck deadline timers feat(dispatcher): Clear healthcheck deadline timers Nov 10, 2026
@jhoncool jhoncool changed the title feat(dispatcher): Clear healthcheck deadline timers fix(dispatcher): Clear healthcheck deadline timers Nov 10, 2026
@jhoncool
jhoncool merged commit 61771f2 into gravity-ui:main Nov 10, 2026
2 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.

2 participants