mirror of
https://github.com/derf/travelynx
synced 2024-12-04 18:29:11 +00:00
add hypnotoad config
This commit is contained in:
parent
6e961420aa
commit
03f4210736
1 changed files with 6 additions and 4 deletions
10
index.pl
10
index.pl
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue