Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to What does Gearman's 'command_timeout' option control?

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11148819]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found