fix Player Timeout
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m28s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m28s
This commit is contained in:
2
main.go
2
main.go
@@ -516,7 +516,7 @@ func handleValidate(w http.ResponseWriter, r *http.Request) {
|
|||||||
log.Printf("❌ REDIS SAVE ERROR: %v", err)
|
log.Printf("❌ REDIS SAVE ERROR: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
rdb.Expire(ctx, key, 1*time.Hour)
|
rdb.Expire(ctx, key, 8760*time.Hour)
|
||||||
|
|
||||||
w.Header().Set("Content-Type", "application/json")
|
w.Header().Set("Content-Type", "application/json")
|
||||||
json.NewEncoder(w).Encode(ValidateResponse{
|
json.NewEncoder(w).Encode(ValidateResponse{
|
||||||
|
|||||||
Reference in New Issue
Block a user