class Mosquito::Configuration

Defined in:

mosquito/configuration.cr

Instance Method Summary

Instance Method Detail

def backend : Mosquito::Backend.class #

def backend=(backend : Mosquito::Backend.class) #

def failed_job_ttl : Int32 #

def failed_job_ttl=(failed_job_ttl : Int32) #

def global_prefix : String | Nil #

def global_prefix=(global_prefix : String | Nil) #

def heartbeat_interval : Time::Span #

How often a mosquito runner should emit a heartbeat metric.


def heartbeat_interval=(heartbeat_interval : Time::Span) #

How often a mosquito runner should emit a heartbeat metric.


def idle_wait : Time::Span #

def idle_wait=(idle_wait : Time::Span) #

def idle_wait=(time_span : Float) #

def redis_url : String | Nil #

def redis_url=(redis_url : String | Nil) #

def run_from : Array(String) #

def run_from=(run_from : Array(String)) #

def successful_job_ttl : Int32 #

def successful_job_ttl=(successful_job_ttl : Int32) #

def use_distributed_lock : Bool #

def use_distributed_lock=(use_distributed_lock : Bool) #

def validate #

def validated : Bool #

def validated=(validated : Bool) #