-
Notifications
You must be signed in to change notification settings - Fork 187
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
Timeout change in the restart manager in the configuration #4264
Conversation
@@ -280,6 +280,7 @@ export const restartNodeSelected = async ( | |||
`Restarting ${isCluster ? selectedNode : 'Manager'}, please wait.` | |||
); //FIXME: if it enables/disables cluster, this will show Manager instead node name | |||
isCluster ? await restartNode(selectedNode) : await restartManager(); | |||
await delayAsPromise(15000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: why this delay is required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public/controllers/management/components/management/configuration/utils/wz-fetch.js
Show resolved
Hide resolved
public/controllers/management/components/management/reporting/utils/reporting-handler.js
Show resolved
Hide resolved
public/controllers/management/components/management/reporting/utils/reporting-handler.js
Show resolved
Hide resolved
public/controllers/management/components/management/configuration/utils/wz-fetch.js
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* fix: timeout change * add changelog * parmeters refractor and format * changelog: replaced PR entry Co-authored-by: Antonio David Gutiérrez <[email protected]> Co-authored-by: Álex <[email protected]> (cherry picked from commit 2f83a43)
* fix: timeout change * add changelog * parmeters refractor and format * changelog: replaced PR entry Co-authored-by: Antonio David Gutiérrez <[email protected]> Co-authored-by: Álex <[email protected]> (cherry picked from commit 2f83a43)
…iguration (#4278) Timeout change in the restart manager in the configuration (#4264) * fix: timeout change * add changelog * parmeters refractor and format * changelog: replaced PR entry Co-authored-by: Antonio David Gutiérrez <[email protected]> Co-authored-by: Álex <[email protected]> (cherry picked from commit 2f83a43) Co-authored-by: Ian Yenien Serrano <[email protected]>
…onfiguration (#4279) Timeout change in the restart manager in the configuration (#4264) * fix: timeout change * add changelog * parmeters refractor and format * changelog: replaced PR entry Co-authored-by: Antonio David Gutiérrez <[email protected]> Co-authored-by: Álex <[email protected]> (cherry picked from commit 2f83a43) Co-authored-by: Ian Yenien Serrano <[email protected]>
Description:
Added the waiting time to see if the manager is active again since it was not waiting for anything and in other ways of restarting it waits for 15000ms
Issue:
Preconditions:
Test:
Screenshot:
restartManager.mp4