未验证 提交 f9d624c5 编写于 作者: S Salvatore Sanfilippo 提交者: GitHub

Merge pull request #7113 from OMG-By/unstable

fix(sentinel): sentinel.running_scripts not reset
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册