mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::db: ifdef rate_limiter verbose debug msg.
This commit is contained in:
parent
e6a7904040
commit
e5b1e31f7e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue