git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 6938d265 authored by mmn's avatar mmn

List the thread config value in lib/default.php

parent dea9f43d
......@@ -98,6 +98,7 @@ $default =
'queue' =>
array('enabled' => true,
'daemon' => false, # Use queuedaemon. Default to false
'threads' => null, # an empty value here uses processor count to determine
'subsystem' => 'db', # default to database, or 'stomp'
'stomp_server' => null,
'queue_basename' => '/queue/statusnet/',
......
......@@ -176,6 +176,8 @@ if (!$threads) {
$threads = getProcessorCount();
}
common_log(LOG_INFO, sprintf('Launching QueueDaemon background process with %1$d threads.', $threads));
$daemonize = !(have_option('f') || have_option('--foreground'));
$all = have_option('a') || have_option('--all');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment