Files
gerrit/java
Edwin Kempin c528072d07 ReviewersUtil: Increase multiplier for candidate list to 3
Since the frontend reduced the number of suggested reviewers to 6 [1] we
have users complaining about users being missing in the reviewer
suggestion. This is because the account query to compute the reviewer
candidates is limited to 2 x <limit-from-the-request>, which is 12 now.
If there are more than 12 matches some accounts are dropped, which may
contain the account that the user expects. In the case I debugged there
were 15 candidates, out of which only 2 are suggested in the end. When
the limit is set to 12, 1 of them got dropped.

Increasing the multiplier for the candidate list to 3 shouldn't have bad
impacts on the performance, basically 3 * 6 = 18 is still lower than the
limit that we used before [1], 2 * 10 = 20, and that limit worked well.

[1] https://gerrit-review.googlesource.com/c/gerrit/+/222655

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ia3121d1708444b80a53a421f24f05a89c87ea80d
2019-06-05 09:52:43 +02:00
..
2019-05-08 07:33:21 -07:00
2018-11-13 15:06:26 -08:00