Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: guid_128_generate() needs to correctly convert usecs to nsecs
The timestamp in the guid starts off with real time, but "runs ahead" if a lot of guids are generated. If not many guids are being generated, the timestamp is fast-forwarded to the current ioloop_timeval. The buggy comparison prevented fast forwarding when tv_sec matched, but tv_nsec value was > 0 (which was true most of the time).
- Loading branch information