Skip to content

repos: add jitter to repo update interval

Administrator requested to merge as/add-jitter-on-repo-update into main

Created by: asdine

To prevent having repos update at the same time when their interval is the same, we add a jitter of 5% to that interval. This will hopefully naturally reduce the number of concurrent requests.

This is a potential fix for https://github.com/sourcegraph/customer/issues/622 or at the very least a change to confirm our suspicions.

Merge request reports

Loading