adjusted timeout for prod release
All checks were successful
Build Pogdark API / Build Pogdark API (pull_request) Successful in 24s

This commit is contained in:
whysman 2025-05-08 14:51:11 -04:00
parent f8315afe6b
commit c6d14870ca

View File

@ -339,7 +339,7 @@ func setState(w http.ResponseWriter, r *http.Request, s *Server) {
http.Error(w, "Failed to encode message", http.StatusInternalServerError)
return
}
timeout := 20 * time.Second
timeout := 60 * time.Minute
err = redisClient.Set(ctx, message.Id, msgJSON, timeout).Err()
if err != nil {
log.Printf("Failed to set key in Redis: %v", err)