mirror of
https://github.com/rqlite/rqlite.git
synced 2026-01-25 04:16:26 +00:00
Replace interface{} with any (#2077)
This commit is contained in:
@@ -173,8 +173,8 @@ func (q *Queue[T]) Depth() int {
|
||||
}
|
||||
|
||||
// Stats returns stats on this queue.
|
||||
func (q *Queue[T]) Stats() (map[string]interface{}, error) {
|
||||
return map[string]interface{}{
|
||||
func (q *Queue[T]) Stats() (map[string]any, error) {
|
||||
return map[string]any{
|
||||
"max_size": q.maxSize,
|
||||
"batch_size": q.batchSize,
|
||||
"timeout": q.timeout.String(),
|
||||
|
||||
Reference in New Issue
Block a user