MCPcopy Create free account
hub / github.com/cppla/ServerStatus / write_and_reload

Function write_and_reload

server/manage_api.py:190–193  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

188
189
190def write_and_reload(config):
191 config = write_config(config)
192 pid = signal_sergate(signal.SIGHUP)
193 return config, pid
194
195
196def read_body(handler):

Callers 1

routeMethod · 0.85

Calls 2

write_configFunction · 0.85
signal_sergateFunction · 0.85

Tested by

no test coverage detected