mirror of
https://github.com/matrix-construct/construct
synced 2024-11-05 13:28:54 +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
|
||||
ircd::db::database::env::NowMicros()
|
||||
noexcept try
|
||||
noexcept
|
||||
{
|
||||
return defaults.NowMicros();
|
||||
}
|
||||
catch(const std::exception &e)
|
||||
{
|
||||
throw panic
|
||||
{
|
||||
"'%s': now micros :%s",
|
||||
d.name,
|
||||
e.what()
|
||||
};
|
||||
return ircd::time<microseconds>();
|
||||
}
|
||||
|
||||
uint64_t
|
||||
|
|
Loading…
Reference in a new issue