very slight tweak to procname for monitoring

pull/266/head
Rui Carmo 2023-01-17 21:49:31 +00:00
rodzic 0c27d7097f
commit e902c17e94
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1004,7 +1004,7 @@ def spawn_worker(app, kind, command, env, ordinal=1):
('max-requests', env.get('UWSGI_MAX_REQUESTS', '1024')),
('listen', env.get('UWSGI_LISTEN', '16')),
('processes', env.get('UWSGI_PROCESSES', '1')),
('procname-prefix', '{app:s}:{kind:s}'.format(**locals())),
('procname-prefix', '{app:s}:{kind:s}:'.format(**locals())),
('enable-threads', env.get('UWSGI_ENABLE_THREADS', 'true').lower()),
('log-x-forwarded-for', env.get('UWSGI_LOG_X_FORWARDED_FOR', 'false').lower()),
('log-maxsize', env.get('UWSGI_LOG_MAXSIZE', UWSGI_LOG_MAXSIZE)),

Wyświetl plik

@ -1004,7 +1004,7 @@ def spawn_worker(app, kind, command, env, ordinal=1):
('max-requests', env.get('UWSGI_MAX_REQUESTS', '1024')),
('listen', env.get('UWSGI_LISTEN', '16')),
('processes', env.get('UWSGI_PROCESSES', '1')),
('procname-prefix', '{app:s}:{kind:s}'.format(**locals())),
('procname-prefix', '{app:s}:{kind:s}:'.format(**locals())),
('enable-threads', env.get('UWSGI_ENABLE_THREADS', 'true').lower()),
('log-x-forwarded-for', env.get('UWSGI_LOG_X_FORWARDED_FOR', 'false').lower()),
('log-maxsize', env.get('UWSGI_LOG_MAXSIZE', UWSGI_LOG_MAXSIZE)),