lib/vanagon/driver.rb
def retry_task(&block)
      @timeout = @project.timeout || 3600
      @retry_count = @project.retry_count || 3
      Vanagon::Utilities.retry_with_timeout(@retry_count, @timeout) { yield }
    end
# Retry the provided block, use the retry count and timeout
# values from the project, if available, otherwise use some
# sane defaults.
Retry the provided block, use the retry count and timeout
values from the project, if available, otherwise use some
sane defaults.
Retry the provided block use the retry count and timeout values from the project if available otherwise use some sane defaults .
def retry_task(&block)
      @timeout = @project.timeout || 3600
      @retry_count = @project.retry_count || 3
      Vanagon::Utilities.retry_with_timeout(@retry_count, @timeout) { yield }
    end
def retry_task ( & block ) @timeout = @project . timeout || 3600 @retry_count = @project . retry_count || 3 Vanagon :: Utilities . retry_with_timeout ( @retry_count , @timeout ) { yield } end
Retry the provided block, use the retry count and timeout
values from the project, if available, otherwise use some
sane defaults.
Retry the provided block use the retry count and timeout values from the project if available otherwise use some sane defaults .
block