From 09b0fe9b2c89e1abbc83120bf4bdf62ed865b108 Mon Sep 17 00:00:00 2001 From: Tobias B Date: Sat, 20 Jun 2026 12:55:59 +0200 Subject: [PATCH] limit hypnotoad workers to 2 --- app.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}$/;