orangeqs.juice.client._utils#

Common utility functions for the Juice client libraries.

Module Contents#

Functions#

restart_supervisor_process

Restarts a Supervisor-managed process using XML-RPC.

Data#

API#

orangeqs.juice.client._utils.logger#

‘getLogger(…)’

orangeqs.juice.client._utils.restart_supervisor_process(process_name: str, server_url: str = 'http://localhost:9001/RPC2', is_dashboard_service_origin: bool = False) None#

Restarts a Supervisor-managed process using XML-RPC.

Parameters#

  • process_name: The name of the process to restart.

  • server_url: The URL of the Supervisor XML-RPC server.

  • is_dashboard_service_origin: Indicates if the command is issued by the dashboard service itself.