note 124032 added to gearmanclient.settimeout

From: Date: Thu, 11 Jul 2019 21:22:31 +0000
Subject: note 124032 added to gearmanclient.settimeout
Groups: php.notes 
Request: Send a blank email to php-notes+get-211549@lists.php.net to get a copy of this message
Note that GEARMAN_TIMEOUT is mostly triggered when you use a callback with the addTask() and addTaskBackground() methods. If the Gearman server is not able to answer under high volume of jobs about the status of the current job, the client will certainly throw a GEARMAN_TIMEOUT error. The safest way to escape this error is using the doBackground() method especially when you are not interested to find the status of the job (failed or completed) and that should be a rule when you are sending high volume of jobs to the server. ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.195 (proxied: 93.113.134.63) ---- Manual Page -- http://php.net/manual/en/gearmanclient.settimeout.php Edit -- https://master.php.net/note/edit/124032 Del: integrated -- https://master.php.net/note/delete/124032/integrated Del: useless -- https://master.php.net/note/delete/124032/useless Del: bad code -- https://master.php.net/note/delete/124032/bad+code Del: spam -- https://master.php.net/note/delete/124032/spam Del: non-english -- https://master.php.net/note/delete/124032/non-english Del: in docs -- https://master.php.net/note/delete/124032/in+docs Del: other reasons-- https://master.php.net/note/delete/124032 Reject -- https://master.php.net/note/reject/124032 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#211549) next »