add hypnotoad config

This commit is contained in:
Daniel Friesel 2019-03-08 18:05:49 +01:00
parent 6e961420aa
commit 03f4210736

View file

@ -1226,11 +1226,13 @@ app->defaults( layout => 'default' );
app->config( app->config(
hypnotoad => { hypnotoad => {
accepts => 10, accepts => 40,
listen => [ $ENV{DBFAKEDISPLAY_LISTEN} // 'http://*:8092' ], listen => [ $ENV{TRAVELYNX_LISTEN} // 'http://*:8093' ],
pid_file => '/tmp/db-fakedisplay.pid', pid_file => '/tmp/travelynx.pid',
workers => $ENV{DBFAKEDISPLAY_WORKERS} // 2, workers => $ENV{TRAVELYNX_WORKERS} // 2,
}, },
); );
app->types( json => 'application/json; charset=utf-8' );
app->start; app->start;