diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-07-09 12:09:20 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-07-09 12:09:20 -0400 |
commit | 03200235b1a1bba56c24e1bb659023ba24265eb3 (patch) | |
tree | 44f921927809cdf03b2f3c4b9ee2f89b9b226486 /lib/xmppqueuehandler.php | |
parent | 1daad01f362d72e6ed89f415546220016c32404a (diff) |
use select() to bring down xmpp latency
Diffstat (limited to 'lib/xmppqueuehandler.php')
-rw-r--r-- | lib/xmppqueuehandler.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/xmppqueuehandler.php b/lib/xmppqueuehandler.php index cbcfe5e1c..77d476c30 100644 --- a/lib/xmppqueuehandler.php +++ b/lib/xmppqueuehandler.php @@ -126,4 +126,9 @@ class XmppQueueHandler extends QueueHandler return jabber_daemon_address() . '/' . common_config('xmpp','resource') . 'daemon'; } } + + function getSockets() + { + return array($this->conn->getSocket()); + } } |