From ed38d6b4d87740f4805f31551b65e075f781d8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Untersch=C3=BCtz?= Date: Wed, 26 Nov 2025 18:58:14 +0100 Subject: [PATCH] bug fixes --- handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers.go b/handlers.go index 37c84ad..068ee0a 100644 --- a/handlers.go +++ b/handlers.go @@ -72,7 +72,7 @@ func handleValidate(w http.ResponseWriter, r *http.Request) { status = "dead" rdb.HSet(ctx, key, "is_dead", 1) } - rdb.Expire(ctx, key, 4000*time.Hour) + rdb.Expire(ctx, key, 1*time.Hour) json.NewEncoder(w).Encode(ValidateResponse{ Status: status,