MCPcopy Create free account
hub / github.com/StackStorm/st2 / main

Function main

st2reactor/st2reactor/cmd/rulesengine.py:77–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76
77def main():
78 try:
79 _setup()
80 return _run_worker()
81 except SystemExit as exit_code:
82 sys.exit(exit_code)
83 except:
84 LOG.exception("(PID=%s) RulesEngine quit due to exception.", os.getpid())
85 return 1
86 finally:
87 _teardown()

Callers

nothing calls this directly

Calls 3

_setupFunction · 0.70
_run_workerFunction · 0.70
_teardownFunction · 0.70

Tested by

no test coverage detected