Commit 323545fc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Use KILL instead of TERM

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent cf971ba8
...@@ -106,7 +106,7 @@ class GitlabProjects ...@@ -106,7 +106,7 @@ class GitlabProjects
Process.wait(pid) Process.wait(pid)
end end
rescue Timeout::Error rescue Timeout::Error
Process.kill('TERM', pid) Process.kill('KILL', pid)
$logger.error "Importing project #{@project_name} from <#{@source}> failed due to timeout." $logger.error "Importing project #{@project_name} from <#{@source}> failed due to timeout."
FileUtils.rm_rf(full_path) FileUtils.rm_rf(full_path)
false false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment