Project

General

Profile

« Previous | Next » 

Revision 0299bce8

Added by Marc Dequènes almost 14 years ago

  • ID 0299bce8f0feb40db99ef1027cf50324c90606ca

[evol] connect_peer: do not open multiple connections to the same peer while one is being attempted already

View differences:

lib/cyborghood/cyborg/botnet_dsl.rb
end
else
logger.debug "Task '#{@name}': Could not contact peer '#{peer}'"
# TODO: retry (wait_timer + recursive call + counter)
subtask.errors << CyberError.new(:unrecoverable, "botnet/client/dsl", "Task '#{@name}': could not contact peer '#{peer}'")
subtask.finish
end

Also available in: Unified diff