mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 04:46:46 -05:00
Abort cooldown sleep and break caller loops immediately on interruption
This commit is contained in:
parent
ea955eedc7
commit
f9819266e7
5 changed files with 14 additions and 2 deletions
|
|
@ -1692,6 +1692,9 @@ static int state_sync_process(struct snapraid_state* state, struct snapraid_pari
|
|||
|
||||
/* drop until now */
|
||||
state_usage_waste(state);
|
||||
|
||||
if (os_signal_interrupt())
|
||||
break;
|
||||
}
|
||||
|
||||
/* autosave */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue