mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
80 cols.
This commit is contained in:
parent
ebc95efced
commit
1a3c09b1a8
@ -57,7 +57,8 @@ def main(usage, get_app):
|
||||
|
||||
|
||||
|
||||
def paste_server(app, global_conf=None, host="127.0.0.1", port=None, *args, **kw):
|
||||
def paste_server(app, global_conf=None, host="127.0.0.1", port=None,
|
||||
*args, **kwargs):
|
||||
if not port:
|
||||
if ':' in host:
|
||||
host, port = host.split(':', 1)
|
||||
@ -71,8 +72,4 @@ def paste_server(app, global_conf=None, host="127.0.0.1", port=None, *args, **kw
|
||||
workers = int(global_conf.get('workers', 1))
|
||||
|
||||
arbiter = Arbiter(bind_addr, workers, app)
|
||||
arbiter.run()
|
||||
|
||||
|
||||
|
||||
|
||||
arbiter.run()
|
||||
Loading…
x
Reference in New Issue
Block a user