mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add more 2 sec.
After sending SEGV signal, but no response. Try to add 2 more seconds. If we can not have a detailed log, we need to use gdb/lldb to show the backtrace.
This commit is contained in:
parent
3591703b31
commit
7b9527ce74
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ module EnvUtil
|
|||
end
|
||||
module_function :timeout
|
||||
|
||||
def terminate(pid, signal = :TERM, pgroup = nil, reprieve = 1)
|
||||
def terminate(pid, signal = :TERM, pgroup = nil, reprieve = 3)
|
||||
reprieve = apply_timeout_scale(reprieve) if reprieve
|
||||
|
||||
signals = Array(signal).select do |sig|
|
||||
|
|
Loading…
Add table
Reference in a new issue