|
6 | 6 |
|
7 | 7 | import logging |
8 | 8 | import os |
| 9 | +import sys |
9 | 10 | import threading |
10 | 11 | import time |
11 | 12 | from datetime import datetime |
|
19 | 20 | from tracing.sentry import maybe_init_sentry |
20 | 21 | from tracing.traceparent_backend import TraceparentBackend |
21 | 22 | from tracing.tracer import get_tracer |
22 | | -config_cmapi_server_logging() |
23 | | -from tracing.trace_tool import register_tracing_tools |
24 | 23 |
|
| 24 | +config_cmapi_server_logging() |
25 | 25 | from cmapi_server import helpers |
26 | | -from cmapi_server.constants import DEFAULT_MCS_CONF_PATH, CMAPI_CONF_PATH |
27 | | -from cmapi_server.controllers.dispatcher import dispatcher, jsonify_error, jsonify_404 |
| 26 | +from cmapi_server.constants import CMAPI_CONF_PATH, DEFAULT_MCS_CONF_PATH |
| 27 | +from cmapi_server.controllers.dispatcher import dispatcher, jsonify_404, jsonify_error |
28 | 28 | from cmapi_server.failover_agent import FailoverAgent |
| 29 | +from cmapi_server.invariant_checks import run_invariant_checks |
29 | 30 | from cmapi_server.managers.application import AppManager |
30 | | -from cmapi_server.managers.process import MCSProcessManager |
31 | 31 | from cmapi_server.managers.certificate import CertificateManager |
32 | | -from cmapi_server.invariant_checks import run_invariant_checks |
| 32 | +from cmapi_server.managers.process import MCSProcessManager |
33 | 33 | from failover.node_monitor import NodeMonitor |
34 | 34 | from mcs_node_control.models.dbrm_socket import SOCK_TIMEOUT, DBRMSocketHandler |
35 | 35 | from mcs_node_control.models.node_config import NodeConfig |
| 36 | +from tracing.trace_tool import register_tracing_tools |
36 | 37 |
|
37 | 38 |
|
38 | 39 | def worker(app): |
|
0 commit comments