mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
Fix wording
This commit is contained in:
parent
0fbf4e7221
commit
408b4d52c8
@ -16,7 +16,7 @@ func usePrecise(dur time.Duration) bool {
|
||||
func formatMs(dur time.Duration) int64 {
|
||||
if dur > 0 && dur < time.Millisecond {
|
||||
internal.Logger.Printf(
|
||||
"specified duration is %s, but minimal supported value is %s - truncating to 1s",
|
||||
"specified duration is %s, but minimal supported value is %s - truncating to 1ms",
|
||||
dur, time.Millisecond,
|
||||
)
|
||||
return 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user