mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
update test.ini
This commit is contained in:
parent
58c759b914
commit
96a0a0c895
@ -16,6 +16,12 @@ host = 127.0.0.1
|
|||||||
port = 5000
|
port = 5000
|
||||||
|
|
||||||
[app:main]
|
[app:main]
|
||||||
use = config:development.ini
|
use = egg:pylonstest
|
||||||
|
full_stack = true
|
||||||
|
static_files = true
|
||||||
|
|
||||||
|
cache_dir = %(here)s/data
|
||||||
|
beaker.session.key = pylonstest
|
||||||
|
beaker.session.secret = somesecret
|
||||||
|
|
||||||
# Add additional test specific configuration options as necessary.
|
# Add additional test specific configuration options as necessary.
|
||||||
|
|||||||
@ -80,7 +80,7 @@ def paste_server(app, global_conf=None, host="127.0.0.1", port=None,
|
|||||||
if debug:
|
if debug:
|
||||||
# we force to one worker in debug mode.
|
# we force to one worker in debug mode.
|
||||||
workers = 1
|
workers = 1
|
||||||
|
|
||||||
arbiter = Arbiter(bind_addr, workers, app,
|
arbiter = Arbiter(bind_addr, workers, app,
|
||||||
debug)
|
debug)
|
||||||
arbiter.run()
|
arbiter.run()
|
||||||
Loading…
x
Reference in New Issue
Block a user