fix compare bug

This commit is contained in:
Xiaoxi Wang 2020-09-04 07:17:35 +00:00
parent 47893c847b
commit 341feb2b6f
1 changed files with 1 additions and 1 deletions

View File

@ -1402,7 +1402,7 @@ ACTOR Future<Void> ratekeeper(RatekeeperInterface rkInterf, Reference<AsyncVar<S
updateCommitCostEstimation(&self, req.ssTrTagCommitCost);
if(p.lastThrottledTagChangeId != self.throttledTagChangeId || now() < p.lastTagPushTime + SERVER_KNOBS->TAG_THROTTLE_PUSH_INTERVAL) {
if(p.lastThrottledTagChangeId != self.throttledTagChangeId || now() > p.lastTagPushTime + SERVER_KNOBS->TAG_THROTTLE_PUSH_INTERVAL) {
p.lastThrottledTagChangeId = self.throttledTagChangeId;
p.lastTagPushTime = now();