Skip to content

fix(#5147): apply configured monitor timeout to StatusUpdater #5237

Merged
ulischulte merged 4 commits intocodecentric:masterfrom
Harshit-0413:fix-5147
Apr 10, 2026
Merged

fix(#5147): apply configured monitor timeout to StatusUpdater #5237
ulischulte merged 4 commits intocodecentric:masterfrom
Harshit-0413:fix-5147

Conversation

@Harshit-0413
Copy link
Copy Markdown
Contributor

Problem

The configured monitor timeout (spring.boot.admin.monitor.default-timeout
and per-service spring.boot.admin.monitor.timeout) was not being applied
to StatusUpdater. It always used the default WebClient timeout instead of
the user-configured value, making the timeout configuration ineffective for
status checks.

Fix

Applied the configured timeout from AdminServerProperties.MonitorProperties
in StatusUpdater so that user-defined timeouts are respected during
instance status polling.

Tests

Added tests to verify that the configured timeout is correctly applied
in StatusUpdater.

Note

AdminServerInstanceWebClientConfigurationTest.simpleConfig is failing
on master as well — this is a pre-existing issue unrelated to this PR.

@Harshit-0413 Harshit-0413 requested a review from a team as a code owner April 9, 2026 16:30
@SteKoe SteKoe changed the title fix: apply configured monitor timeout to StatusUpdater (#5147) fix(#5147): apply configured monitor timeout to StatusUpdater Apr 10, 2026
Copy link
Copy Markdown
Contributor

@ulischulte ulischulte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ulischulte ulischulte merged commit 36abe8a into codecentric:master Apr 10, 2026
1 check 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.

3 participants