Commit 03f42107 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

add hypnotoad config

parent 6e961420
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -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;