Skip to content

enterprise/a8n: Add global locking around RunChangesetJob

Administrator requested to merge a8n-advisory-locks into master

Created by: ryanslade

Advisory locks in PostgreSQL are used to ensure that only one concurrent instance of RunChangesetJob can run at a time.

This removes the possibility of making concurrent requests to GitHub.

Fixes: https://github.com/sourcegraph/sourcegraph/issues/7309

Merge request reports

Loading