struct

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)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

concurrency
Source
cpu_pct
Source
fibers_active
Source
host
Source
last_heartbeat
Source
queues
Source
rss_kb
Source
stale?(now : Int64 = Time.utc.to_unix_ms) : Bool
Source
started_at
Source
status
Source
version
Source