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 Apr 18, 2018. It is now read-only.
It seems to be impossible to get job id from worker code with python-gearman
I need to get job id from the worker, before with php lib I was setting option GEARMAN_WORKER_GRAB_UNIQ with call to function addOptions(GEARMAN_WORKER_GRAB_UNIQ);
After that, with my worker, I was able to get the job id with calling the "unique" attribut like that : $job->unique()
Do you know a way to do the same with the python lib ?
Thanks.
The text was updated successfully, but these errors were encountered:
It seems to be impossible to get job id from worker code with python-gearman
I need to get job id from the worker, before with php lib I was setting option GEARMAN_WORKER_GRAB_UNIQ with call to function addOptions(GEARMAN_WORKER_GRAB_UNIQ);
After that, with my worker, I was able to get the job id with calling the "unique" attribut like that : $job->unique()
Do you know a way to do the same with the python lib ?
Thanks.
The text was updated successfully, but these errors were encountered: