Skip to content

Conversation

@Roguelazer
Copy link
Contributor

@Roguelazer Roguelazer commented Jul 22, 2022

This prevents strange timeouts around leap seconds (if you're not using a splaying ntp server), and also allows you to use this driver along with tools like Timecop in testing, since Timecop manipulates Time but not Monotime.

This adds a new dependency (https://github.com/Freaky/monotime), which has a minimum-supported Ruby version of 2.5. Given that everything before Ruby 2.7 is EOL already anyway, this seems okay, but there might be some value in changing the README for ruby-driver and the testing to reflect modern versions of Ruby. I could also switch to hires, but I tend to use monotime for ergonomic reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant