MCPcopy Create free account
hub / github.com/apple/foundationdb / when

Function when

fdbserver/GrvProxyServer.actor.cpp:463–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461 }
462 }
463 when(wait(nextRequestTimer)) {
464 nextRequestTimer = Never();
465 bool detailed = now() - lastDetailedReply > SERVER_KNOBS->DETAILED_METRIC_UPDATE_RATE;
466
467 reply = brokenPromiseToNever(
468 db->get().ratekeeper.get().getRateInfo.getReply(GetRateInfoRequest(myID,
469 *inTransactionCount,
470 *inBatchTransactionCount,
471 proxyData->version,
472 *transactionTagCounter,
473 detailed)));
474 transactionTagCounter->clear();
475 expectingDetailedReply = detailed;
476 }
477 when(GetRateInfoReply rep = wait(reply)) {
478 reply = Never();
479

Calls 15

nowFunction · 0.85
delayFunction · 0.85
delayJitteredFunction · 0.85
moveFunction · 0.85
TraceEventClass · 0.85
dropRequestFromQueueFunction · 0.85
forwardPromiseFunction · 0.85
setRateMethod · 0.80
addEventMethod · 0.80
firstMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected