summaryrefslogtreecommitdiff
path: root/lib/stompqueuemanager.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-27 16:37:43 -0500
committerEvan Prodromou <evan@status.net>2010-01-27 16:37:43 -0500
commitf650b40706bc3ecf0944a2e64cb30eeaf3728659 (patch)
treeec2eb083105398f21dc66237ec6216728c360f9e /lib/stompqueuemanager.php
parent5e31ecd82aaf102382380b1352503303893cf9ba (diff)
parentc51539804a7f6f63b3f47fd838b9527262440e3d (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib/stompqueuemanager.php')
-rw-r--r--lib/stompqueuemanager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stompqueuemanager.php b/lib/stompqueuemanager.php
index 89f3d74cc..19e8c49b5 100644
--- a/lib/stompqueuemanager.php
+++ b/lib/stompqueuemanager.php
@@ -178,7 +178,8 @@ class StompQueueManager extends QueueManager
$result = $this->con->send($this->queueName($queue),
$msg, // BODY of the message
- array ('created' => common_sql_now()));
+ array ('created' => common_sql_now(),
+ 'persistent' => 'true'));
if (!$result) {
common_log(LOG_ERR, "Error sending $rep to $queue queue");