This package is strictly private and should not be changed inside of one of your apps/customizations!
EnvironmentPool(pool_names, max_restarts=0, options=None)[source]¶
This class manages the pool instances for the current environment/installation.
You should not have to use this class in any moment!
Restart single process, or all if no name is given.
Parameters: name – Name or none for all pools.
InstanceProcess(queue, environment_name='default', pool=None, options=None)[source]¶
The InstanceProcess is the encapsulation around the real controller instance.
This code is still being executed at the main process!!
Boolean determinating if the process did die.
Exit code of process.
Returns: Exit code.
Boolean: Is the process able to restart (not reached max_restarts).