note 110266 added to gearmanclient.settimeout
| From: | IsmaelCristalJr | Date: | Sat, 06 Oct 2012 02:54:11 +0000 |
| Subject: | note 110266 added to gearmanclient.settimeout | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-191156@lists.php.net to get a copy of this message | ||
GearmanClient has a default timeout of -1 you need to set this to a positive number using setTimeout
to avoid cases where your script waits forever to run a job even if there are no workers running at
all.
----
Server IP: 69.147.83.199
Probable Submitter: 222.127.224.126
----
Manual Page -- http://www.php.net/manual/en/gearmanclient.settimeout.php
Edit -- https://master.php.net/note/edit/110266
Del: integrated -- https://master.php.net/note/delete/110266/integrated
Del: useless -- https://master.php.net/note/delete/110266/useless
Del: bad code -- https://master.php.net/note/delete/110266/bad+code
Del: spam -- https://master.php.net/note/delete/110266/spam
Del: non-english -- https://master.php.net/note/delete/110266/non-english
Del: in docs -- https://master.php.net/note/delete/110266/in+docs
Del: other reasons-- https://master.php.net/note/delete/110266
Reject -- https://master.php.net/note/reject/110266
Search -- https://master.php.net/manage/user-notes.php