• Kamil Trzciński's avatar
    Move persistent_ref.create into run_after_commit · dd388b3f
    Kamil Trzciński authored
    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.
    dd388b3f
runner_spec.rb 67.4 KB