Skip to content

permissions: Add basic backoff for permissions syncing.

Warren Gifford requested to merge rs/permissions-stale-config into main

Created by: ryanslade

The backoff period for repo and user permissions syncing is configurable using the permissions.syncUsersBackoffSeconds and permissions.syncReposBackoffSeconds config values.

When set, we will not schedule users or repos for permissions syncing based on their last sync time if they have synced recently, based on the backoff value.

Test plan

Unit tests updated

Merge request reports

Loading