feat: slow threshold customizable in redis (#1187)
This commit is contained in:
@@ -32,7 +32,7 @@ func getClient(r *Redis) (*red.Client, error) {
|
||||
MinIdleConns: idleConns,
|
||||
TLSConfig: tlsConfig,
|
||||
})
|
||||
store.WrapProcess(checkDuration(r.slowThreshold))
|
||||
store.WrapProcess(checkDuration)
|
||||
return store, nil
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user