MCPcopy Create free account
hub / github.com/Icinga/icinga2 / MayFlush

Method MayFlush

lib/remote/httpmessage.cpp:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 void MayFlush(boost::asio::yield_context& yield) override
60 {
61 if (m_Message.body().Size() >= l_FlushThreshold) {
62 m_Message.Flush(yield);
63 }
64 }
65
66private:
67 Message& m_Message;

Callers 1

FlushIfSafeMethod · 0.80

Calls 2

SizeMethod · 0.45
FlushMethod · 0.45

Tested by

no test coverage detected