diff --git a/app.pl b/app.pl index fdb395f..004f2da 100755 --- a/app.pl +++ b/app.pl @@ -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}$/;