Do you know where your variables are? | |
PerlMonks |
Re: What does Gearman's 'command_timeout' option control?by Discipulus (Canon) |
on Dec 13, 2022 at 08:02 UTC ( [id://11148819]=note: print w/replies, xml ) | Need Help?? |
Hello Cody Fendant, the documentation is really poor.. For the little I understood this command_timeout is an internal timeout for gearman protocol, like assigning task to worker, get resutls etc. If this is true is poorly described. this github issue shows command_timeout was also undocumented up to 2018. Also gearman.org documentation is not so explicit. But using the source (Luke!) you can see $self->client()->{command_timeout} used as argument of the internal call to _wait_for_packet which then call Gearman::Util::read_res_packet which smell to me of internal protocol, not the meat of a job passed by your client. There is a DEBUG flag you can set somwhere (tired by poor documentation, sorry), or probably a --verbose option. See other ENV vars that can be used to have more fun experimenting with your command_timeout option. ..then please submit a PR to the documentation :)
L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|