Unverified Commit f9d624c5 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

Merge pull request #7113 from OMG-By/unstable

fix(sentinel): sentinel.running_scripts not reset
parents c479eace 9d27e00d
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment