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

Method getRequestsToSend

cpp/core/LogsDB.cpp:611–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609 }
610
611 void getRequestsToSend(std::vector<LogsDBRequest*>& requests) {
612 requests.swap(_requestsToSend);
613 update_atomic_stat_ema(_stats.requestsSent, requests.size());
614 _requestsToSend.clear();
615 }
616
617 LogsDBResponse& newResponse(ReplicaId targetReplicaId, uint64_t requestId) {
618 _responses.emplace_back();

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