- Added all seven issued service trees without omissions. - Preserved the supplied runtime configuration, binaries, and assets.
16 lines
341 B
Python
Executable File
16 lines
341 B
Python
Executable File
import sys
|
|
|
|
worker_tmp_dir = '/tmp'
|
|
backlog = 256
|
|
worker_connections = 256
|
|
keepalive = 15
|
|
graceful_timeout = 30
|
|
|
|
|
|
def worker_exit(server, worker):
|
|
|
|
for name in ('app', 'bd_app', 'bi_app'):
|
|
module = sys.modules.get(name)
|
|
if module is not None and hasattr(module, '_save_state'):
|
|
module._save_state(force=True)
|