Move persistent_ref.create into run_after_commit
Previously, persistent ref creation would hold transaction causing significant delays and increase in 409 errors, and in general slowness when picking CI jobs. This moves that into run_after_commit hook that still allows us to execute it, but releasing DB lock.
Showing
Please register or sign in to comment