const time.Millisecond
30 uses
time (current package)
format.go#L1610: "ms": uint64(Millisecond),
time.go#L933: Millisecond = 1000 * Microsecond
time.go#L934: Second = 1000 * Millisecond
time.go#L978: case u < uint64(Millisecond):
crypto/tls
handshake_client.go#L514: obfuscatedTicketAge: uint32(ticketAge/time.Millisecond) + session.ageAdd,
handshake_client_tls13.go#L347: hello.pskIdentities[0].obfuscatedTicketAge = uint32(ticketAge/time.Millisecond) + hs.session.ageAdd
go.uber.org/goleak
options.go#L125: maxSleep: 100 * time.Millisecond,
go.uber.org/zap
time.go#L26: return t.UnixNano() / int64(time.Millisecond)
go.uber.org/zap/zapcore
encoder.go#L107: millis := float64(nanos) / float64(time.Millisecond)
golang.org/x/net/http2
transport.go#L1137: t := time.AfterFunc(250*time.Millisecond, cc.forceCloseConn)
golang.org/x/net/trace
trace.go#L577: {Cond: minCond(50 * time.Millisecond)},
trace.go#L578: {Cond: minCond(100 * time.Millisecond)},
trace.go#L579: {Cond: minCond(200 * time.Millisecond)},
trace.go#L580: {Cond: minCond(500 * time.Millisecond)},
google.golang.org/grpc
server.go#L921: tempDelay = 5 * time.Millisecond
stream.go#L719: dur = time.Millisecond * time.Duration(pushback)
google.golang.org/grpc/balancer/pickfirst/pickfirstleaf
pickfirstleaf.go#L95: connectionDelayInterval = 250 * time.Millisecond
google.golang.org/grpc/internal/grpcutil
encode_duration.go#L52: if d := div(t, time.Millisecond); d <= maxTimeoutValue {
google.golang.org/grpc/internal/syscall
syscall_linux.go#L82: err = syscall.SetsockoptInt(int(fd), syscall.IPPROTO_TCP, unix.TCP_USER_TIMEOUT, int(timeout/time.Millisecond))
google.golang.org/grpc/internal/transport
http_util.go#L175: return time.Millisecond, true
net
dial.go#L295: return 300 * time.Millisecond
net/http
h2_bundle.go#L8557: t := time.AfterFunc(250*time.Millisecond, cc.forceCloseConn)
server.go#L1814: var rstAvoidanceDelay = 500 * time.Millisecond
server.go#L3118: const shutdownPollIntervalMax = 500 * time.Millisecond
server.go#L3151: pollIntervalBase := time.Millisecond
server.go#L3431: tempDelay = 5 * time.Millisecond
transfer.go#L220: timer := time.NewTimer(200 * time.Millisecond)
transport.go#L2631: var maxWriteWaitBeforeConnReuse = 50 * time.Millisecond
runtime/pprof
pprof.go#L871: time.Sleep(100 * time.Millisecond)
testing
testing.go#L1303: nextSleep = 1 * time.Millisecond