Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: reconnect faster to host after reboot #974

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JasperB-TeamBlue
Copy link
Contributor

Altered sleepOnReboot to try and reach the host with a certain interval, ServerRebootSleepTime, as waiting time in between tries. When the host is back online after reboot, cancel sleep timeout and continue with operations. Instead of trying to reach the host after the ServerRebootTimeout has been reached, this is the max time the host has to come back online before breaking off operations. Uses the stats it gets from the vdsproxy to check the state of the host and reports back that operations with this host can be continued.

Are you the owner of the code you are sending in, or do you have permission of the owner?

[y]

@dupondje
Copy link
Member

/ost

…y every 30 seconds

Altered sleepOnReboot to try and reach the host with a certain interval, ServerRebootSleepTime, as waiting time in between tries.
When the host is back online after reboot, cancel sleep timeout and continue with operations.
Instead of trying to reach the host after the ServerRebootTimeout has been reached, this is the max time the host has to come back online before breaking off operations.
Uses the stats it gets from the vdsproxy to check the state of the host and reports back that operations with this host can be continued.
Signed-off-by: Jasper Berton <[email protected]>
@JasperB-TeamBlue JasperB-TeamBlue force-pushed the TB1OVI3-23-adding-new-host-to-engine-waits-too-long-for-host-reboot branch from e538816 to cf0f996 Compare December 17, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants