summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@status.net>2009-12-08 09:57:37 -0800
committerBrion Vibber <brion@status.net>2009-12-08 09:57:37 -0800
commit3536f01258dc43bee764c98fbdda5a6f1df7bcb2 (patch)
tree88074defbe64e35fe6941ac0870efd477686dfd0
parent5affa498209b8c768531a816865903728e726e88 (diff)
Make default & sample val for $config['queue']['queue_basename'] actually work! Now matches the recommendation in README which is in fact correct. Must include the /queue/ prefix (unless somthing else actually makes sense)
-rw-r--r--config.php.sample2
-rw-r--r--lib/default.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.php.sample b/config.php.sample
index 473eb74e2..91e6614c0 100644
--- a/config.php.sample
+++ b/config.php.sample
@@ -154,7 +154,7 @@ $config['sphinx']['port'] = 3312;
// $config['queue']['subsystem'] = 'stomp';
// $config['queue']['stomp_server'] = 'tcp://localhost:61613';
// use different queue_basename for each statusnet instance managed by the server
-// $config['queue']['queue_basename'] = 'statusnet';
+// $config['queue']['queue_basename'] = '/queue/statusnet/';
// The following customise the behaviour of the various daemons:
// $config['daemon']['piddir'] = '/var/run';
diff --git a/lib/default.php b/lib/default.php
index db90aeca3..ebb6f8d01 100644
--- a/lib/default.php
+++ b/lib/default.php
@@ -75,7 +75,7 @@ $default =
array('enabled' => false,
'subsystem' => 'db', # default to database, or 'stomp'
'stomp_server' => null,
- 'queue_basename' => 'statusnet',
+ 'queue_basename' => '/queue/statusnet/',
'stomp_username' => null,
'stomp_password' => null,
),