]> Sergey Matveev's repositories - public-inbox.git/commit
ds: use and export monotonic now()
authorEric Wong <e@80x24.org>
Mon, 24 Jun 2019 02:52:04 +0000 (02:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Jun 2019 05:26:25 +0000 (05:26 +0000)
commit860c7e13d31390dc16c2cce813e4887f12e76731
treeb24f266351b82ac70a180a71cb04fa43e84639f3
parent8c619bae62a3d468505716d58d3559278883eee7
ds: use and export monotonic now()

All of our internal timing code should use monotonic clocks
for consistency against system clock adjustments.

This can be shared by our Daemon and NNTP packages.
lib/PublicInbox/DS.pm
lib/PublicInbox/Daemon.pm
lib/PublicInbox/NNTP.pm