Skip to content

Search backend: simplify logBatch by not mutating SearchResultsResolver

Warren Gifford requested to merge cc/simplify-elapsed into main

Created by: camdencheek

Previously, we were mutating SearchResultsResolver by adding elapsed to when we call logBatch. This just modifies the call to add elapsed before calling logBatch, which also has the benefit of simplifying logBatch.

Test plan

Semantics-preserving.

Merge request reports

Loading