chore: increase websocket interval for debug api

This commit is contained in:
yusing 2025-04-16 14:29:45 +08:00
parent 57f80344bc
commit 75fd8d1fdc

View file

@ -50,7 +50,7 @@ func jsonHandler[T debuggable](getData iter.Seq2[string, T]) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
gpwebsocket.DynamicJSONHandler(w, r, func() []map[string]any {
return toSortedSlice(getData)
}, 1*time.Second)
}, 200*time.Millisecond)
}
}