summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-11-07 21:27:00 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-11-07 21:27:00 +0100
commitd2f73f38c32960c59a97eedd4a3a975fa22b6814 (patch)
treeb1e5afbea71f17ad65eaf72ee9bc96b96717d8a8 /cgi
parent64c10d5f335d6a7736e585b578af6e5fc238b77f (diff)
allow number of workers to be set via ENV
Diffstat (limited to 'cgi')
-rw-r--r--cgi/index.pl2
1 files changed, 1 insertions, 1 deletions
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,
},
);