0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-01 19:22:53 +01:00

ircd::db: ifdef rate_limiter verbose debug msg.

This commit is contained in:
Jason Volk 2020-10-07 11:20:57 -07:00
parent e6a7904040
commit e5b1e31f7e

View file

@ -3792,6 +3792,7 @@ ircd::db::database::rate_limiter::RequestToken(size_t bytes,
OpType type)
noexcept
{
#ifdef RB_DEBUG_DB_ENV
log::debug
{
log, "[%s] Rate Limiter request bytes:%zu alignment:%zu prio:%s type:%s",
@ -3805,6 +3806,7 @@ noexcept
"READ"_sv:
"????"_sv,
};
#endif
assert(prio <= IOPriority::IO_TOTAL);
{