0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 05:08:59 +02:00

ircd::db::env: Use our own impl of NowMicros().

This commit is contained in:
Jason Volk 2019-07-17 19:11:54 -07:00
parent ad1940d614
commit d4438bbb22

View file

@ -716,18 +716,9 @@ catch(const std::exception &e)
uint64_t uint64_t
ircd::db::database::env::NowMicros() ircd::db::database::env::NowMicros()
noexcept try noexcept
{ {
return defaults.NowMicros(); return ircd::time<microseconds>();
}
catch(const std::exception &e)
{
throw panic
{
"'%s': now micros :%s",
d.name,
e.what()
};
} }
uint64_t uint64_t