class
Mosquito::Configuration
- Mosquito::Configuration
- Reference
- Object
Defined in:
mosquito/configuration.crInstance Method Summary
- #backend : Mosquito::Backend
- #backend=(backend : Mosquito::Backend)
- #backend_connection
- #backend_connection_string
- #backend_connection_string=(value : String)
-
#dead_overseer_threshold : Time::Span
How long an overseer can go without a heartbeat before it is considered dead and its pending jobs are recovered.
-
#dead_overseer_threshold=(dead_overseer_threshold : Time::Span)
How long an overseer can go without a heartbeat before it is considered dead and its pending jobs are recovered.
- #dequeue_adapter : Mosquito::DequeueAdapter
- #dequeue_adapter=(dequeue_adapter : Mosquito::DequeueAdapter)
- #executor_count : Int32
- #executor_count=(executor_count : Int32)
- #failed_job_ttl : Int32
- #failed_job_ttl=(failed_job_ttl : Int32)
- #global_prefix : String | Nil
- #global_prefix=(global_prefix : String | Nil)
-
#heartbeat_interval : Time::Span
How often a mosquito runner should emit a heartbeat metric.
-
#heartbeat_interval=(heartbeat_interval : Time::Span)
How often a mosquito runner should emit a heartbeat metric.
- #idle_wait : Time::Span
- #idle_wait=(idle_wait : Time::Span)
- #idle_wait=(time_span : Float)
- #metrics? : Bool
-
#overseer_id : String | Nil
A stable, user-chosen identifier for this overseer instance.
-
#overseer_id=(overseer_id : String | Nil)
A stable, user-chosen identifier for this overseer instance.
- #publish_metrics : Bool
- #publish_metrics=(publish_metrics : Bool)
-
#resource_gates : Hash(String, Mosquito::ResourceGate)
Maps queue names to resource gates.
-
#resource_gates=(resource_gates : Hash(String, Mosquito::ResourceGate))
Maps queue names to resource gates.
- #run_from : Array(String)
- #run_from=(run_from : Array(String))
- #successful_job_ttl : Int32
- #successful_job_ttl=(successful_job_ttl : Int32)
- #use_distributed_lock : Bool
- #use_distributed_lock=(use_distributed_lock : Bool)
- #validate
- #validated : Bool
- #validated=(validated : Bool)
Instance Method Detail
How long an overseer can go without a heartbeat before it is considered dead and its pending jobs are recovered.
How long an overseer can go without a heartbeat before it is considered dead and its pending jobs are recovered.
How often a mosquito runner should emit a heartbeat metric.
A stable, user-chosen identifier for this overseer instance. Used to look up per-overseer remote configuration (executor count, concurrency limits, etc.). When nil, the overseer only reads global remote config.
A stable, user-chosen identifier for this overseer instance. Used to look up per-overseer remote configuration (executor count, concurrency limits, etc.). When nil, the overseer only reads global remote config.
Maps queue names to resource gates. Queues whose gate returns
false from #allow? are excluded from dequeuing.
Maps queue names to resource gates. Queues whose gate returns
false from #allow? are excluded from dequeuing.