1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-04-20 23:08:29 +00:00
thatmattlove-hyperglass/hyperglass/gunicorn_config.py.example
2019-05-28 14:14:42 -07:00

17 lines
320 B
Text

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)