From 03f421073693a97554235b1f278f2df31eb4b6a8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 8 Mar 2019 18:05:49 +0100 Subject: add hypnotoad config --- index.pl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'index.pl') diff --git a/index.pl b/index.pl index 03a344a..eb4d627 100755 --- a/index.pl +++ b/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; -- cgit v1.2.3