mirror of https://github.com/libp2p/go-libp2p.git
Browse Source
* fix: make timestamps strictly increasing On Linux, this is almost always the case. Windows, however, doesn't have nanosecond accuracy. We make the timestamp sequence numbers strictly increasing by returning the last timestamp + 1 where necessary. * apply code review Co-authored-by: Marten Seemann <martenseemann@gmail.com> * use a lock Co-authored-by: Marten Seemann <martenseemann@gmail.com>pull/1683/head
Steven Allen
3 years ago
committed by
GitHub
2 changed files with 29 additions and 1 deletions
Loading…
Reference in new issue