give processtime a minimum of 1s
This commit is contained in:
parent
14267381e9
commit
d2e83b6a67
@ -63,7 +63,7 @@ class XmppQueueHandler extends QueueHandler
|
|||||||
try {
|
try {
|
||||||
if ($this->conn) {
|
if ($this->conn) {
|
||||||
$this->log(LOG_DEBUG, "Servicing the XMPP queue.");
|
$this->log(LOG_DEBUG, "Servicing the XMPP queue.");
|
||||||
$this->conn->processTime($timeout);
|
$this->conn->processTime(max($timeout, 1));
|
||||||
$this->sendPing();
|
$this->sendPing();
|
||||||
}
|
}
|
||||||
} catch (XMPPHP_Exception $e) {
|
} catch (XMPPHP_Exception $e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user