Closed mjrusso closed 14 years ago
I noticed that there is a package called setproctitle when gunicorn started using it recently. (See gunicorn commit: http://github.com/benoitc/gunicorn/commit/5afec8d7268b081ba2f1a806b08bd2418519aa59 and package details: http://pypi.python.org/pypi/setproctitle/ )
setproctitle
It would be very nice if the name of pyres workers (parents and children) took advantage of this to convey information. Examples from Resque:
$0 = "resque: Starting" $0 = "resque: Forked #{@child} at #{Time.now.to_i}" $0 = "resque: Processing #{job.queue} since #{Time.now.to_i}" $0 = "resque: Paused" $0 = "resque: Waiting for #{@queues.join(',')}"
i was actually just starting to look at this package. One of the guys from our local users group mentioned it to me.
i've put the first versions of this in master. Should be released in 0.8 soon
I noticed that there is a package called
setproctitle
when gunicorn started using it recently. (See gunicorn commit: http://github.com/benoitc/gunicorn/commit/5afec8d7268b081ba2f1a806b08bd2418519aa59 and package details: http://pypi.python.org/pypi/setproctitle/ )It would be very nice if the name of pyres workers (parents and children) took advantage of this to convey information. Examples from Resque: