• 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
build_spec.rb 112 KB