Could try a PR on qless itself - the forking worker just spawns a serial
worker, so you could probably do it here:
https://github.com/seomoz/qless/blob/master/lib/qless/worker/serial.rb#L28

Or here:
https://github.com/seomoz/qless/blob/master/lib/qless/worker/base.rb#L94




On Wed, Jan 29, 2014 at 10:07 AM, Arron Norwell <notifications@github.com>wrote:

> In lib/qmore/job_reserver.rb:
>
> > @@ -18,24 +20,32 @@ def prep_for_work!
> >      def reserve
> >        realize_queues.each do |q|
> >          job = q.pop
> > -        return job if job
> > +        if job
> > +          set_description([job.queue])
> > +          procline "Running #{description}"
>
> I do agree with the concerns you have about this. It's weird to fully
> duplicate the procline-setting function of Qless here.
>
> Qless doesn't update the procline on a per-job basis, and the point where
> it sets the procline is before any job has been reserved. See
> https://github.com/seomoz/qless/blob/master/lib/qless/worker/serial.rb#L23
>
> This means that accomplishing this is hard to do without either modifying
> qless or setting the procline yourself.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/wr0ngway/qmore/pull/1/files#r9268909>
> .
>