1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
checktheroads-hyperglass/hyperglass/gunicorn_config.py.example
2019-05-28 14:14:42 -07:00

18 lines
320 B
Plaintext

import multiprocessing
command = "/usr/local/bin/gunicorn"
pythonpath = "/opt/hyperglass"
bind = "[::1]:8001"
preload = True
workers = multiprocessing.cpu_count() * 2
user = "www-data"
timeout = 60
keepalive = 10
def on_starting(server):
import hyperglass
hyperglass.render.css.renderTemplate()
print(1)