Increase timeout for TQueue clear warning to be hardly exceeded.
This commit is contained in:
parent
7e4f349da8
commit
f408b8cec3
@ -282,7 +282,7 @@ class TQueueImpl final : public TQueue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto clear_time = Time::now() - start_time;
|
auto clear_time = Time::now() - start_time;
|
||||||
if (clear_time > 0.01) {
|
if (clear_time > 0.02) {
|
||||||
LOG(WARNING) << "Cleared " << (size - keep_count) << " TQueue events with total size "
|
LOG(WARNING) << "Cleared " << (size - keep_count) << " TQueue events with total size "
|
||||||
<< (total_event_length - q.total_event_length) << " in " << clear_time - callback_clear_time
|
<< (total_event_length - q.total_event_length) << " in " << clear_time - callback_clear_time
|
||||||
<< " seconds, collected their identifiers in " << collect_deleted_event_ids_time
|
<< " seconds, collected their identifiers in " << collect_deleted_event_ids_time
|
||||||
|
Loading…
Reference in New Issue
Block a user