@@ -93,7 +93,7 @@ class NonDaemonPool(pool.Pool):
9393 Process = NonDaemonProcess
9494
9595
96- class MultiProcPlugin (DistributedPluginBase ):
96+ class LegacyMultiProcPlugin (DistributedPluginBase ):
9797 """
9898 Execute workflow with multiprocessing, not sending more jobs at once
9999 than the system can support.
@@ -129,7 +129,7 @@ class MultiProcPlugin(DistributedPluginBase):
129129
130130 def __init__ (self , plugin_args = None ):
131131 # Init variables and instance attributes
132- super (MultiProcPlugin , self ).__init__ (plugin_args = plugin_args )
132+ super (LegacyMultiProcPlugin , self ).__init__ (plugin_args = plugin_args )
133133 self ._taskresult = {}
134134 self ._task_obj = {}
135135 self ._taskid = 0
@@ -149,7 +149,7 @@ def __init__(self, plugin_args=None):
149149 True )
150150
151151 # Instantiate different thread pools for non-daemon processes
152- logger .debug ('[MultiProc ] Starting in "%sdaemon" mode (n_procs=%d, '
152+ logger .debug ('[LegacyMultiProc ] Starting in "%sdaemon" mode (n_procs=%d, '
153153 'mem_gb=%0.2f, cwd=%s)' , 'non' * int (non_daemon ),
154154 self .processors , self .memory_gb , self ._cwd )
155155
@@ -191,7 +191,7 @@ def _submit_job(self, node, updatehash=False):
191191 run_node , (node , updatehash , self ._taskid ),
192192 callback = self ._async_callback )
193193
194- logger .debug ('[MultiProc ] Submitted task %s (taskid=%d).' ,
194+ logger .debug ('[LegacyMultiProc ] Submitted task %s (taskid=%d).' ,
195195 node .fullname , self ._taskid )
196196 return self ._taskid
197197
@@ -262,7 +262,7 @@ def _send_procs_to_workers(self, updatehash=False, graph=None):
262262 tasks_list_msg += '\n ' .join (running_tasks )
263263 tasks_list_msg = indent (tasks_list_msg , ' ' * 21 )
264264 logger .info (
265- '[MultiProc ] Running %d tasks, and %d jobs ready. Free '
265+ '[LegacyMultiProc ] Running %d tasks, and %d jobs ready. Free '
266266 'memory (GB): %0.2f/%0.2f, Free processors: %d/%d.%s' ,
267267 len (self .pending_tasks ), len (jobids ), free_memory_gb ,
268268 self .memory_gb , free_processors , self .processors ,
0 commit comments