Skip to content

Reduce UPDATE queries when moving between import states on projects

username-removed-367626 requested to merge import-machine-improvement into master

By changing our logic from before_transition to after_transition blocks and removing extra calls to update or save we can do all changes in a single UPDATE query (currently each transition change from started -> failed and started -> finished runs two UPDATE queries each)

Merge request reports

Loading