struct
Obsctl::Config::ReconnectConfig
- Obsctl::Config::ReconnectConfig
- Struct
- Value
- Object
Overview
Reconnect policy loaded from the top-level reconnect config section.
Included Modules
- YAML::Serializable
Defined in:
obsctl/config/config.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(enabled : Bool = true, endless : Bool = true, initial_delay_ms : Int32 = 500, max_delay_ms : Int32 = 10000, multiplier : Float64 = 1.8, jitter_ms : Int32 = 250)
Instance Method Summary
- #enabled : Bool
- #endless : Bool
- #initial_delay_ms : Int32
- #jitter_ms : Int32
- #max_delay_ms : Int32
- #multiplier : Float64
Constructor Detail
def self.new(enabled : Bool = true, endless : Bool = true, initial_delay_ms : Int32 = 500, max_delay_ms : Int32 = 10000, multiplier : Float64 = 1.8, jitter_ms : Int32 = 250)
#