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
Process.wait(pid)
end
rescue Timeout::Error
Process.kill('TERM', pid)
Process.kill('KILL', pid)
$logger.error "Importing project #{@project_name} from <#{@source}> failed due to timeout."
FileUtils.rm_rf(full_path)
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