mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Merge pull request #7113 from OMG-By/unstable
fix(sentinel): sentinel.running_scripts not reset
This commit is contained in:
commit
f9d624c504
@ -860,6 +860,7 @@ void sentinelCollectTerminatedScripts(void) {
|
||||
sj->pid = 0;
|
||||
sj->start_time = mstime() +
|
||||
sentinelScriptRetryDelay(sj->retry_num);
|
||||
sentinel.running_scripts--;
|
||||
} else {
|
||||
/* Otherwise let's remove the script, but log the event if the
|
||||
* execution did not terminated in the best of the ways. */
|
||||
|
Loading…
Reference in New Issue
Block a user