MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / getResponsesToSend

Method getResponsesToSend

cpp/core/LogsDB.cpp:625–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623 }
624
625 void getResponsesToSend(std::vector<LogsDBResponse>& responses) {
626 responses.swap(_responses);
627 update_atomic_stat_ema(_stats.responsesSent, responses.size());
628 _responses.clear();
629 }
630
631 Duration getNextTimeout() const {
632 if (_requests.empty()) {

Callers 1

getOutgoingMessagesMethod · 0.80

Calls 3

update_atomic_stat_emaFunction · 0.85
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected