Update fdbrpc/LoadBalance.actor.h
Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
This commit is contained in:
parent
6e473c3a83
commit
6b28e3b43b
|
@ -279,7 +279,7 @@ Future< REPLY_TYPE(Request) > loadBalance(
|
|||
state double backoff = 0;
|
||||
state bool triedAllOptions = false;
|
||||
loop {
|
||||
if(now() - startTime > g_network->isSimulated() ? 30.0 : 600.0) {
|
||||
if(now() - startTime > (g_network->isSimulated() ? 30.0 : 600.0)) {
|
||||
TraceEvent ev(g_network->isSimulated() ? SevWarn : SevWarnAlways, "LoadBalanceTooLong");
|
||||
ev.suppressFor(1.0);
|
||||
ev.detail("Duration", now() - startTime);
|
||||
|
|
Loading…
Reference in New Issue