limit hypnotoad workers to 2

This commit is contained in:
2026-06-20 12:55:59 +02:00
parent 1502170256
commit 09b0fe9b2c
+4 -1
View File
@@ -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}$/;