Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: minor cleanup in new project read model (#7911)
This PR touches up a few small things in the project read model. Fixes: Use the right method name in the query/method timer for `getProjectsForAdminUi`. I'd forgotten to change the timer name from the original method name. Spells the method name correctly for the `getMembersCount` timer (it used to be `getMemberCount`, but the method is callled `getMembersCount` with a plural s). Changes: Call the `getMembersCount` timer from within the `getMembersCount` method itself. Instead of setting that timer up from two different places, we can call it in the method we're timing. This wasn't a problem previously, because the method was only called from a single place. Assuming we always wanna time that query, it makes more sense to put the timing in the actual method.
- Loading branch information