Skip to content

search: get user settings once

Warren Gifford requested to merge sh/get-user-settings-only-once into main

Created by: stefanhengl

Tracing showed that we get user settings twice for each search query, once in the searchResolver and once in the searchResultsResolver. We can get rid of the second call by copying the user settings from the searchResolver to the searchResultsResolver.

Before Screenshot 2020-10-02 at 09 59 48

After Screenshot 2020-10-02 at 09 58 20

Merge request reports

Loading