Skip to content

Commit ca4aa74

Browse files
committed
added delay to sync state
1 parent 22f6a30 commit ca4aa74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

handler/state.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ func HandleState(installer *installer.Installer, stopHttp chan bool, encryptKey
2626
select {
2727
case <-ctx.Done():
2828
if state.Status.IsCompleted() {
29+
time.Sleep(30) // delay to sync state
2930
stopHttp <- true
3031
}
3132
return

0 commit comments

Comments
 (0)