Increase timeout for TQueue clear warning to be hardly exceeded.

This commit is contained in:
levlam 2023-03-09 13:34:35 +03:00
parent 7e4f349da8
commit f408b8cec3

View File

@ -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