Skip to content

Commit 5800c2e

Browse files
authored
fix(core): adjust default auto shutdown duration (#280)
1 parent a989222 commit 5800c2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/storage/device.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,10 @@
379379
if __debug__:
380380
AUTOLOCK_DELAY_MINIMUM = AUTOSHUTDOWN_DELAY_MINIMUM = 10 * 1000 # 10 seconds
381381
else:
382-
AUTOLOCK_DELAY_MINIMUM = 60 * 1000 # 1 minute
383-
AUTOSHUTDOWN_DELAY_MINIMUM = 30 * 1000 # 30 seconds
382+
AUTOLOCK_DELAY_MINIMUM = 30 * 1000 # 30 seconds
383+
AUTOSHUTDOWN_DELAY_MINIMUM = 60 * 1000 # 1 minute
384384

385-
AUTOSHUTDOWN_DELAY_DEFAULT = 10 * 60 * 1000 # 10 minutes
385+
AUTOSHUTDOWN_DELAY_DEFAULT = 5 * 60 * 1000 # 5 minutes
386386
AUTOLOCK_DELAY_DEFAULT = 60 * 1000 # 1 minute
387387
# autolock intervals larger than AUTOLOCK_DELAY_MAXIMUM cause issues in the scheduler
388388
# if __debug__:

0 commit comments

Comments
 (0)