class WerckerAPI::PipelineRunner::Timeout

Public Class Methods

new(pipeline_id, pipeline_runner) click to toggle source
Calls superclass method
# File lib/wercker_api/pipeline_runner.rb, line 5
      def initialize(pipeline_id, pipeline_runner)
        msg = <<-EOM
Pipeline #{pipeline_id} did not finish in a timely fashion.

#{pipeline_runner.max_attempts} attempts were made with a #{pipeline_runner.delay} seconds delay between each attempts.

You  either can try to:
    - Increase the max attempts count.
      Beware of the API rate limit, specially
      if you have many applications and pipelines
      under the same account.
    - the delay between each attempts
    - or both

Good Luck!
EOM
        super(msg)
      end