diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-08 18:05:49 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-08 18:05:49 +0100 |
commit | 03f421073693a97554235b1f278f2df31eb4b6a8 (patch) | |
tree | fb0b1b7a2fbcc147ea459be7d8486c1336f87b85 /index.pl | |
parent | 6e961420aa78b2131d640c6fe00541f9a0b0ebd9 (diff) |
add hypnotoad config
Diffstat (limited to 'index.pl')
-rwxr-xr-x | index.pl | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1226,11 +1226,13 @@ app->defaults( layout => 'default' ); app->config( hypnotoad => { - accepts => 10, - listen => [ $ENV{DBFAKEDISPLAY_LISTEN} // 'http://*:8092' ], - pid_file => '/tmp/db-fakedisplay.pid', - workers => $ENV{DBFAKEDISPLAY_WORKERS} // 2, + accepts => 40, + listen => [ $ENV{TRAVELYNX_LISTEN} // 'http://*:8093' ], + pid_file => '/tmp/travelynx.pid', + workers => $ENV{TRAVELYNX_WORKERS} // 2, }, ); +app->types( json => 'application/json; charset=utf-8' ); + app->start; |