mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 16:00:57 +01:00
ircd::db::env: Use our own impl of NowMicros().
This commit is contained in:
parent
ad1940d614
commit
d4438bbb22
1 changed files with 2 additions and 11 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue