From d4438bbb2261a4b170ec2f63cce9e27d4654cd92 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 17 Jul 2019 19:11:54 -0700 Subject: [PATCH] ircd::db::env: Use our own impl of NowMicros(). --- ircd/db_env.cc | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/ircd/db_env.cc b/ircd/db_env.cc index 005bfce55..e404b6d42 100644 --- a/ircd/db_env.cc +++ b/ircd/db_env.cc @@ -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(); } uint64_t