forked from Ivasoft/traefik
Duration order consistency when multiplying number by time unit
This commit is contained in:
committed by
Traefiker Bot
parent
9ef4f47ba0
commit
bd75eddc8e
@@ -24,7 +24,7 @@ func fakeRedis(t *testing.T, listener net.Listener) {
|
||||
}
|
||||
|
||||
if string(buf[:4]) == "ping" {
|
||||
time.Sleep(time.Millisecond * 1)
|
||||
time.Sleep(1 * time.Millisecond)
|
||||
if _, err := conn.Write([]byte("PONG")); err != nil {
|
||||
conn.Close()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user