summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.pl b/index.pl
index 6df49ea..7f27c97 100644
--- a/index.pl
+++ b/index.pl
@@ -1076,9 +1076,11 @@ get '/*station' => \&handle_request;
app->config(
hypnotoad => {
- accepts => 40,
+ accepts => $ENV{DBFAKEDISPLAY_ACCEPTS} // 100,
+ clients => $ENV{DBFAKEDISPLAY_CLIENTS} // 10,
listen => [ $ENV{DBFAKEDISPLAY_LISTEN} // 'http://*:8092' ],
- pid_file => '/tmp/db-fakedisplay.pid',
+ pid_file => $ENV{DBFAKEDISPLAY_PID_FILE} // '/tmp/db-fakedisplay.pid',
+ spare => $ENV{DBFAKEDISPLAY_SPARE} // 2,
workers => $ENV{DBFAKEDISPLAY_WORKERS} // 2,
},
);