You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lease package needs monotonic time to measure whether a lease is expired. Previously, pkg/monotime implements monotonic time, using go:linkname to touch golang's runtime.nanotime.
Monotonic clock has been supportted in go1.9 (release note). As described in time package's doc, monotonic clock is used for time-measuring operations.
Is there any plan to replace pkg/monotime with go1.9 time package? By the way, Removing pkg/monotime has obvious shortcoming, requiring go version >= 1.9 to support this feature.
The text was updated successfully, but these errors were encountered:
Lease package needs monotonic time to measure whether a lease is expired. Previously, pkg/monotime implements monotonic time, using
go:linkname
to touch golang'sruntime.nanotime
.Monotonic clock has been supportted in go1.9 (release note). As described in time package's doc, monotonic clock is used for time-measuring operations.
Is there any plan to replace pkg/monotime with go1.9 time package? By the way, Removing pkg/monotime has obvious shortcoming, requiring go version >= 1.9 to support this feature.
The text was updated successfully, but these errors were encountered: