Add sample_default for thread_pool_size Opt
When generating a sample config, this shows the real default behavior rather than recording a number at sample config generation time. Change-Id: I39e5200f795b52e61ab424a5fda4749086e458e2
This commit is contained in:
parent
130d7155c4
commit
e7e77096f2
|
@ -54,7 +54,8 @@ OPTS = [
|
|||
help=_("The number of threads available for privsep to "
|
||||
"concurrently run processes. Defaults to the number of "
|
||||
"CPU cores in the system."),
|
||||
default=multiprocessing.cpu_count()),
|
||||
default=multiprocessing.cpu_count(),
|
||||
sample_default='multiprocessing.cpu_count()'),
|
||||
cfg.StrOpt('helper_command',
|
||||
help=_('Command to invoke to start the privsep daemon if '
|
||||
'not using the "fork" method. '
|
||||
|
|
Loading…
Reference in New Issue