diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2019-03-23 22:38:57 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-23 22:38:57 +0100 | 
| commit | 542a1db1106aaafe16203ffdb3bbac792d17a96c (patch) | |
| tree | 0d209f9ada8befcd9d4fa8df273e0d23d16bdad1 | |
| parent | 4cca413880a17d9d31f5ed5c27a29286274ba290 (diff) | |
more configuration options
| -rw-r--r-- | index.pl | 6 | 
1 files changed, 4 insertions, 2 deletions
| @@ -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,  	},  ); | 
