Changeset View
Changeset View
Standalone View
Standalone View
wallace/__init__.py
Show First 20 Lines • Show All 180 Lines • ▼ Show 20 Lines | def __init__(self): | ||||
type=int, | type=int, | ||||
help=_("Number of threads to use.") | help=_("Number of threads to use.") | ||||
) | ) | ||||
daemon_group.add_option( | daemon_group.add_option( | ||||
"--max-tasks", | "--max-tasks", | ||||
dest = "max_tasks", | dest = "max_tasks", | ||||
action = "store", | action = "store", | ||||
default = 10, | default = None, | ||||
type = int, | type = int, | ||||
help = _("Number of tasks per process.") | help = _("Number of tasks per process.") | ||||
) | ) | ||||
daemon_group.add_option( | daemon_group.add_option( | ||||
"-p", "--pid-file", | "-p", "--pid-file", | ||||
dest="pidfile", | dest="pidfile", | ||||
action="store", | action="store", | ||||
▲ Show 20 Lines • Show All 466 Lines • Show Last 20 Lines |