limit hypnotoad workers to 2
This commit is contained in:
@@ -11,7 +11,10 @@ use HTTP::Tiny;
|
||||
|
||||
$ENV{MOJO_REVERSE_PROXY} = 1;
|
||||
|
||||
app->config(hypnotoad => { listen => ['http://127.0.0.1:8081'] });
|
||||
app->config(hypnotoad => {
|
||||
listen => ['http://127.0.0.1:8081'],
|
||||
workers => 2,
|
||||
});
|
||||
|
||||
use constant DB_PATH => "$Bin/lookup.db";
|
||||
use constant CODE_RE => qr/^[A-Za-z0-9]{16}$/;
|
||||
|
||||
Reference in New Issue
Block a user