to make it always effective in z9
Signed-off-by: Li Yuanchao lyc163mail@163.com --- lib/git_mirror.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/git_mirror.rb b/lib/git_mirror.rb index 4ab5e32..779b488 100644 --- a/lib/git_mirror.rb +++ b/lib/git_mirror.rb @@ -89,7 +89,6 @@ class MirrorMain connection.start channel = connection.create_channel @message_queue = channel.queue('new_refs') - Signal.trap(:SIGCHLD, 'SIG_IGN') end
def fork_stat_init(stat_key) @@ -187,6 +186,7 @@ class MirrorMain loop do push_git_queue handle_feedback + Signal.trap(:SIGCHLD, 'SIG_IGN') end end end