mirror of
https://github.com/ceph/ceph
synced 2025-01-19 09:32:00 +00:00
msg/async: avoid log spam on throttle
increase the log level from 1 to 10, the log is printed when message throttler kicks in. Fixes: #15031 Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
6e74170189
commit
d296609c76
@ -669,9 +669,9 @@ void AsyncConnection::process()
|
||||
<< policy.throttler_messages->get_current() << "/"
|
||||
<< policy.throttler_messages->get_max() << dendl;
|
||||
if (!policy.throttler_messages->get_or_fail()) {
|
||||
ldout(async_msgr->cct, 1) << __func__ << " wants 1 message from policy throttle "
|
||||
<< policy.throttler_messages->get_current() << "/"
|
||||
<< policy.throttler_messages->get_max() << " failed, just wait." << dendl;
|
||||
ldout(async_msgr->cct, 10) << __func__ << " wants 1 message from policy throttle "
|
||||
<< policy.throttler_messages->get_current() << "/"
|
||||
<< policy.throttler_messages->get_max() << " failed, just wait." << dendl;
|
||||
// following thread pool deal with th full message queue isn't a
|
||||
// short time, so we can wait a ms.
|
||||
if (register_time_events.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user