Skip to content

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

Open
Harshit-0413 wants to merge 1 commit intocodecentric:masterfrom
Harshit-0413:fix-5147
Open

fix: apply configured monitor timeout to StatusUpdater (#5147)#5237
Harshit-0413 wants to merge 1 commit intocodecentric:masterfrom
Harshit-0413:fix-5147

Conversation

@Harshit-0413
Copy link
Copy Markdown

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
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