You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.
File "pyres-0.9.1-py2.7.egg/resweb/views.py", line 142, in workers
host,pid,queues = str(w).split(':')
ValueError: too many values to unpack
Also, if a start another worker at the same time with:
pyres_worker "project-name:queue-name"
It breaks with:
File "pyres-0.9.1-py2.7.egg/pyres/worker.py", line 86, in startup
self.prune_dead_workers()
File "pyres-0.9.1-py2.7.egg/pyres/worker.py", line 76, in prune_dead_workers
host, pid, queues = worker.id.split(':')
ValueError: too many values to unpack
I would guess this happens in other places also.
It would be nice to be able to specify a queue name that includes a colon (":").
A fix in some places might be something like:
foo.split(':', 2)
The text was updated successfully, but these errors were encountered:
the problem with this is that currently, the keys are namespaced in redis by using a colon. I might mark this as something to do when we refactor and allow arbitraty namespaces.
If I start a worker with:
Then visit http://127.0.0.1:8080/workers/ the web interface breaks with:
This is due to:
Also, if a start another worker at the same time with:
It breaks with:
I would guess this happens in other places also.
It would be nice to be able to specify a queue name that includes a colon (":").
A fix in some places might be something like:
The text was updated successfully, but these errors were encountered: