mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-20 13:50:45 +00:00
timeout changes
This commit is contained in:
@@ -39,7 +39,7 @@ class GemExec
|
||||
Dir.chdir(working_dir)
|
||||
output_hash = {:output => '', :status => 0, :exception => nil}
|
||||
begin
|
||||
output_hash[:output] = ProcessHelper.process("#{gem_path} #{arguments}", {:pty => true, :timeout => (60 * 10),
|
||||
output_hash[:output] = ProcessHelper.process("#{gem_path} #{arguments}", {:pty => true, :timeout => (60 * 30),
|
||||
include_output_in_exception: true})
|
||||
rescue Exception => ex
|
||||
output_hash[:status] = 1
|
||||
|
||||
Reference in New Issue
Block a user