mirror of
https://github.com/fluencelabs/redis
synced 2025-05-04 15:02:13 +00:00
Changed log level for module fork api from 'notice' to 'verbos'.
This commit is contained in:
parent
256ec6c52f
commit
67dbc5f365
@ -6706,7 +6706,7 @@ int RM_Fork(RedisModuleForkDoneHandler cb, void *user_data) {
|
||||
server.module_child_pid = childpid;
|
||||
moduleForkInfo.done_handler = cb;
|
||||
moduleForkInfo.done_handler_user_data = user_data;
|
||||
serverLog(LL_NOTICE, "Module fork started pid: %d ", childpid);
|
||||
serverLog(LL_VERBOSE, "Module fork started pid: %d ", childpid);
|
||||
}
|
||||
return childpid;
|
||||
}
|
||||
@ -6729,7 +6729,7 @@ int TerminateModuleForkChild(int child_pid, int wait) {
|
||||
server.module_child_pid != child_pid) return C_ERR;
|
||||
|
||||
int statloc;
|
||||
serverLog(LL_NOTICE,"Killing running module fork child: %ld",
|
||||
serverLog(LL_VERBOSE,"Killing running module fork child: %ld",
|
||||
(long) server.module_child_pid);
|
||||
if (kill(server.module_child_pid,SIGUSR1) != -1 && wait) {
|
||||
while(wait4(server.module_child_pid,&statloc,0,NULL) !=
|
||||
|
Loading…
x
Reference in New Issue
Block a user