hirefire-resource-ruby icon indicating copy to clipboard operation
hirefire-resource-ruby copied to clipboard

Support for job queue latency for Que 0.x?

Open prognostikos opened this issue 11 months ago • 1 comments

Probably an extremely niche thing, but would you accept a PR to enable job queue latency for Que 0.x?

prognostikos avatar Mar 03 '24 06:03 prognostikos

No problem! I went ahead prepared a patch that adds support for both que v0 and v1: https://github.com/hirefire/hirefire-resource-ruby/compare/master...que

Could you try out the que branch and see if everything works as expected? After that I'll push out a new gem release.

gem "hirefire-resource", github: "hirefire/hirefire-resource-ruby", branch: "que"

mrrooijen avatar Mar 03 '24 11:03 mrrooijen

hirefire-resource v1.0.3 was released which includes backwards compatibility with que ~> 0 and que ~> 1. Both #job_queue_size and #job_queue_latency are supported.

mrrooijen avatar May 23 '24 16:05 mrrooijen