List the thread config value in lib/default.php
This commit is contained in:
parent
dea9f43d85
commit
6938d26524
@ -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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user