Skip to content

Commit 9e8ddb8

Browse files
committed
Improve deferred ota
1 parent d19303a commit 9e8ddb8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

command/ota/upload.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ import (
1111
)
1212

1313
const (
14-
otaExpirationMins = 10
15-
otaDeferredExpirationMins = 10000
14+
// default ota should complete in 10 mins
15+
otaExpirationMins = 10
16+
// deferred ota can take up to 1 week (equal to 10080 minutes)
17+
otaDeferredExpirationMins = 10080
1618
)
1719

1820
// UploadParams contains the parameters needed to

0 commit comments

Comments
 (0)