summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-09 11:16:50 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-09 11:16:50 -0400
commitd7611009b11c489abbc7c52d51ec859fd9fa5600 (patch)
tree8a429233429c3d5df43d02dfaccdabf5b87c215c
parentd2e83b6a67fec311f9bc36a7d886f40169d9de15 (diff)
Revert "give processtime a minimum of 1s"
This reverts commit d2e83b6a67fec311f9bc36a7d886f40169d9de15.
-rw-r--r--lib/xmppqueuehandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmppqueuehandler.php b/lib/xmppqueuehandler.php
index 7d14422c6..9b1a6989e 100644
--- a/lib/xmppqueuehandler.php
+++ b/lib/xmppqueuehandler.php
@@ -63,7 +63,7 @@ class XmppQueueHandler extends QueueHandler
try {
if ($this->conn) {
$this->log(LOG_DEBUG, "Servicing the XMPP queue.");
- $this->conn->processTime(max($timeout, 1));
+ $this->conn->processTime($timeout);
$this->sendPing();
}
} catch (XMPPHP_Exception $e) {