From d2f73f38c32960c59a97eedd4a3a975fa22b6814 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 7 Nov 2013 21:27:00 +0100 Subject: allow number of workers to be set via ENV --- cgi/index.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/index.pl b/cgi/index.pl index 05b0aa4..d43e2b2 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -473,7 +473,7 @@ app->config( hypnotoad => { listen => ['http://*:8091'], pid_file => '/tmp/vrr-fake.pid', - workers => 2, + workers => $ENV{DBFAKEDISPLAY_WORKERS} // 2, }, ); -- cgit v1.2.3