backend.vm_manage.executor¶
-
class
backend.vm_manage.executor.
Executor
(opts)[source]¶ Helper super-class to run background processes and clean up after them.
Child class should have method which spawns subprocess and add it handler to self.child_processes list. Also don’t forget to call recycle
-
recycle
(force=False)[source]¶ Cleanup unused process, should be invoked periodically :param force: do recycle now unconditionally :type force: bool
-
children_number
¶
-