Skip to content

Commit f7cd9eb

Browse files
core: frontend: components: PowerMenu: Increase waiting time
Signed-off-by: Patrick José Pereira <[email protected]>
1 parent 7e8f381 commit f7cd9eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/frontend/src/components/app/PowerMenu.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,14 @@ export default Vue.extend({
150150
this.service_status = Status.Rebooting
151151
this.shutdown(ShutdownType.Reboot)
152152
// Let wait a bit before starting to check
153-
setTimeout(this.waitForBackendToBeOnline, 5000)
153+
setTimeout(this.waitForBackendToBeOnline, 15000)
154154
},
155155
async restartContainer(): Promise<void> {
156156
this.service_status = Status.Rebooting
157157
await back_axios({
158158
method: 'post',
159159
url: '/version-chooser/v1.0/version/restart',
160-
}).finally(() => setTimeout(this.waitForBackendToBeOnline, 5000))
160+
}).finally(() => setTimeout(this.waitForBackendToBeOnline, 15000))
161161
},
162162
async poweroff(): Promise<void> {
163163
this.service_status = Status.PoweringOff

0 commit comments

Comments
 (0)