Skip to content

Commit

Permalink
add max_proc_nb param to LocalSchedulerConfig wrapping for Pyro
Browse files Browse the repository at this point in the history
  • Loading branch information
denisri committed Feb 16, 2016
1 parent f29ffc3 commit 8bec636
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/soma_workflow/start_workflow_engine.py
Expand Up @@ -96,9 +96,7 @@ def __init__(self,
class LocalSchedulerCfg(Pyro.core.ObjBase,
soma_workflow.configuration.LocalSchedulerCfg):

def __init__(self,
proc_nb=soma_workflow.configuration.default_cpu_number(),
interval=1):
def __init__(self, proc_nb=0, interval=1, max_proc_nb=0):
Pyro.core.ObjBase.__init__(self)
soma_workflow.configuration.LocalSchedulerCfg.__init__(
self,
Expand Down

0 comments on commit 8bec636

Please sign in to comment.