Commit a53cdb13 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

index.pl: fix workers env, allow env to override listen port

parent ff86b4c3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -792,9 +792,9 @@ get '/multi/:station' => \&handle_request;
app->config(
	hypnotoad => {
		accepts  => 10,
		listen   => ['http://*:8092'],
		listen   => [ $ENV{DBFAKEDISPLAY_LISTEN} // 'http://*:8092' ],
		pid_file => '/tmp/db-fakedisplay.pid',
		workers  => $ENV{VRRFAKEDISPLAY_WORKERS} // 2,
		workers  => $ENV{DBFAKEDISPLAY_WORKERS} // 2,
	},
);