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

feat: add maintenance timeout to toast as 60s #4382

Closed
wants to merge 2 commits into from

Conversation

johnrwatson
Copy link
Contributor

@johnrwatson johnrwatson commented Aug 20, 2024

Adds a basic timeout to the maintenance toast so it doesn't need to be dismissed by the user. We don't need a reload here either as the service should just kick back in and resolve the session again on the next API call.


NB: Also fixed a minor typo in sed s/maintanance/maintenance/g file naming

@github-actions github-actions bot added the A-web label Aug 20, 2024
@johnrwatson johnrwatson force-pushed the feat/add-timeout-to-maintenance-toast branch 2 times, most recently from fc6689b to 278de2c Compare August 20, 2024 23:07
nickgerace and others added 2 commits August 21, 2024 00:07
This commit removes an unused oneshot channel from the recent USR2
signal handling work in sdf (#4368).

Additional changes:
- Move the maintenance mode message into a constant in order to make the
  code more readable
- Rename "Result" to "ServerResult" for clarity in "server/server.rs"
- Re-order imports to match style

Signed-off-by: Nick Gerace <[email protected]>
@johnrwatson johnrwatson force-pushed the feat/add-timeout-to-maintenance-toast branch from 278de2c to 17e8007 Compare August 20, 2024 23:08
@github-actions github-actions bot added A-sdf Area: Primary backend API service [Rust] A-si-test-macros labels Aug 20, 2024
@johnrwatson johnrwatson marked this pull request as ready for review August 20, 2024 23:15
@johnrwatson
Copy link
Contributor Author

Accidentally rebased in Nick's commits, will re-do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sdf Area: Primary backend API service [Rust] A-si-test-macros A-web
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants