note 110943 deleted from amqp.configuration by sobak
| From: | sobak@php.net | Date: | Thu, 24 Nov 2016 20:35:16 +0000 |
| Subject: | note 110943 deleted from amqp.configuration by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207599@lists.php.net to get a copy of this message | ||
Note Submitter: pinepain at gmail dot com
----
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