resolve comments

This commit is contained in:
Yao Xiao 2022-10-27 22:54:20 -07:00
parent f4bee6d2c5
commit 05a1497d8a
1 changed files with 1 additions and 2 deletions

View File

@ -2211,8 +2211,7 @@ struct ShardedRocksDBKeyValueStore : IKeyValueStore {
break;
}
double time = timer_monotonic();
if (time - a.startTime > readRangeTimeout) {
if (timer_monotonic() - a.startTime > readRangeTimeout) {
TraceEvent(SevInfo, "ShardedRocksDBTimeout")
.detail("Action", "ReadRange")
.detail("ShardsRead", numShards)