Commit 41e7604
committed
Always sleep while restarting
The /services/server/control/restart endpoint does not stop the API
immediately. As a result, a login() call may still succeed just before
the restart takes effect. This change introduces an additional sleep
to prevent a burst of requests from reaching the server while it is
in the process of restarting.1 parent 27af330 commit 41e7604
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
| 623 | + | |
623 | 624 | | |
624 | 625 | | |
625 | 626 | | |
| |||
0 commit comments