note 111077 added to gearmanclient.donormal
| From: | fastest963 at gmail dot com | Date: | Sat, 12 Jan 2013 02:19:27 +0000 |
| Subject: | note 111077 added to gearmanclient.donormal | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192946@lists.php.net to get a copy of this message | ||
do() or doNormal() will block until the job is accepted by the worker. Looping is only necessary if
you care about the response from the job. Use setTimeout() to control how long PHP will block.
If it does timeout, it throws a PHP Warning:
PHP Warning: GearmanClient::do(): _client_do(GEARMAN_TIMEOUT) occured during
gearman_client_run_tasks() -> libgearman/client.cc:174
----
Server IP: 69.147.83.199
Probable Submitter: 209.251.128.58
----
Manual Page -- http://php.net/manual/en/gearmanclient.donormal.php
Edit -- https://master.php.net/note/edit/111077
Del: integrated -- https://master.php.net/note/delete/111077/integrated
Del: useless -- https://master.php.net/note/delete/111077/useless
Del: bad code -- https://master.php.net/note/delete/111077/bad+code
Del: spam -- https://master.php.net/note/delete/111077/spam
Del: non-english -- https://master.php.net/note/delete/111077/non-english
Del: in docs -- https://master.php.net/note/delete/111077/in+docs
Del: other reasons-- https://master.php.net/note/delete/111077
Reject -- https://master.php.net/note/reject/111077
Search -- https://master.php.net/manage/user-notes.php