Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
67dbc5f3
Commit
67dbc5f3
authored
Feb 10, 2020
by
meir@redislabs.com
Browse files
Changed log level for module fork api from 'notice' to 'verbos'.
parent
256ec6c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
67dbc5f3
...
...
@@ -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_
NOTIC
E
,
"Module fork started pid: %d "
,
childpid
);
serverLog
(
LL_
VERBOS
E
,
"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_
NOTIC
E
,
"Killing running module fork child: %ld"
,
serverLog
(
LL_
VERBOS
E
,
"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
)
!=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment