JoobQ::WorkerInfo
Inherits JSON::Serializable < Struct < Value < Object
Snapshot of one worker process, as stored in Redis and served by the API.
Constructors
new(id : String, host : String, pid : Int64, version : String, started_at : Int64, status : String, queues : Array(String), concurrency : Int32, fibers_active : Int32, rss_kb : Int64, cpu_pct : Float64, last_heartbeat : Int64)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
concurrency
Sourcecpu_pct
Sourcefibers_active
Sourcehost
Sourceid
Sourcelast_heartbeat
Sourcepid
Sourcequeues
Sourcerss_kb
Sourcestale?(now : Int64 = Time.utc.to_unix_ms) : Bool
Sourcestarted_at
Sourcestatus
Sourceversion
Source