summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-08 18:05:49 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-08 18:05:49 +0100
commit03f421073693a97554235b1f278f2df31eb4b6a8 (patch)
treefb0b1b7a2fbcc147ea459be7d8486c1336f87b85 /index.pl
parent6e961420aa78b2131d640c6fe00541f9a0b0ebd9 (diff)
add hypnotoad config
Diffstat (limited to 'index.pl')
-rwxr-xr-xindex.pl10
1 files changed, 6 insertions, 4 deletions
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;