mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Minimal cool down time accepted by conf is 3 minutes
This commit is contained in:
parent
e2d2ddbf67
commit
1c4f9870fb
1 changed files with 2 additions and 2 deletions
|
|
@ -326,8 +326,8 @@ void state_thermal_cooldown(struct snapraid_state* state)
|
|||
|
||||
if (sleep_time == 0)
|
||||
sleep_time = 5 * 60; /* default sleep time */
|
||||
if (sleep_time < 5 * 60)
|
||||
sleep_time = 5 * 60; /* minimum sleep time */
|
||||
if (sleep_time < 3 * 60)
|
||||
sleep_time = 3 * 60; /* minimum sleep time */
|
||||
|
||||
/* from now on, stop any further data gathering as the heating is interrupted */
|
||||
state->thermal_stop_gathering = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue