Actions
Bug #878
closedWget failed processes won't stop
Description
After testing it for a while I get a collection of open "wget ..." processes. If wget fails, the processes are not closed and they are also not killed by the restart of the foreman-proxy daemon.
Posted patch:
--- lib/proxy/tftp.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/proxy/tftp.rb b/lib/proxy/tftp.rb index f4b75b9..aea5d59 100644 --- a/lib/proxy/tftp.rb +++ b/lib/proxy/tftp.rb @@ -57,7 +57,7 @@ module Proxy::TFTP #as the dst might contain another sub directory FileUtils.mkdir_p destination.parent - cmd = "wget --no-check-certificate -nv -c #{src} -O \"#{destination}\"" + cmd = "wget --timeout=10 --tries=3 --no-check-certificate -nv -c #{src} -O \"#{destination}\"" Proxy::Util::CommandTask.new(cmd) end -- 1.7.4.1
Updated by Anonymous over 13 years ago
- Status changed from New to Ready For Testing
- % Done changed from 0 to 100
Applied in changeset 03e5b52105b5e5f1d5ea8ebe567973d5aa50fb5b.
Updated by Ohad Levy over 13 years ago
- Status changed from Ready For Testing to Closed
Actions