note 110943 added to amqp.configuration
| From: | pinepain at gmail dot com | Date: | Thu, 27 Dec 2012 17:29:22 +0000 |
| Subject: | note 110943 added to amqp.configuration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192688@lists.php.net to get a copy of this message | ||
It is not documented right here, but amqp.timeout (integer) INI setting exists, check
AMQPConnection::setTimeout for more.
Also you can pass it as a 'timeout' key in credentials array in
AMQPConnection::__construct
Actually, it works as a timeout to wait for a new messages in AMQPQueue::consume method before die
with
Fatal error: Uncaught exception 'AMQPConnectionException' with message 'Resource
temporarily unavailable' in /path/to/test/file.php:12
----
Server IP: 69.147.83.199
Probable Submitter: 92.244.100.226
----
Manual Page -- http://php.net/manual/en/amqp.configuration.php
Edit -- https://master.php.net/note/edit/110943
Del: integrated -- https://master.php.net/note/delete/110943/integrated
Del: useless -- https://master.php.net/note/delete/110943/useless
Del: bad code -- https://master.php.net/note/delete/110943/bad+code
Del: spam -- https://master.php.net/note/delete/110943/spam
Del: non-english -- https://master.php.net/note/delete/110943/non-english
Del: in docs -- https://master.php.net/note/delete/110943/in+docs
Del: other reasons-- https://master.php.net/note/delete/110943
Reject -- https://master.php.net/note/reject/110943
Search -- https://master.php.net/manage/user-notes.php