]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/publicqueuehandler.php
set the reconnect timeout
[quix0rs-gnu-social.git] / scripts / publicqueuehandler.php
index 49e5f5b8f50a705cd20b6986ac429c4973f66106..366c1e5c394e71342f0b6e424be194ee159c6a8a 100755 (executable)
@@ -47,6 +47,7 @@ class PublicQueueHandler extends QueueHandler {
                if ($this->conn) {
                        $this->conn->addEventHandler('message', 'forward_message', $this);
                        $this->conn->addEventHandler('reconnect', 'handle_reconnect', $this);
+                       $this->conn->reconnectTimeout(600);
                        jabber_send_presence("Send me a message to post an notice", 'available', NULL, 'available', -1);
                }
                return !is_null($this->conn);