Module: Phronomy::Agent::Concerns::Retryable

Included in:
Base
Defined in:
lib/phronomy/agent/concerns/retryable.rb

Overview

Adds configurable retry behaviour to an agent.

Included in Base. The retry loop wraps the full

invoke_once call; GuardrailError is never retried.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



11
12
13
# File 'lib/phronomy/agent/concerns/retryable.rb', line 11

def self.included(base)
  base.extend(ClassMethods)
end