diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-11-07 21:27:00 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-11-07 21:27:00 +0100 |
commit | d2f73f38c32960c59a97eedd4a3a975fa22b6814 (patch) | |
tree | b1e5afbea71f17ad65eaf72ee9bc96b96717d8a8 /cgi/index.pl | |
parent | 64c10d5f335d6a7736e585b578af6e5fc238b77f (diff) |
allow number of workers to be set via ENV
Diffstat (limited to 'cgi/index.pl')
-rw-r--r-- | cgi/index.pl | 2 |
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, }, ); |