bug fixes
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 3m54s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 3m54s
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user