Skip to content

Pages deploy job to store file outside of database transaction

What does this MR do and why?

Describe in detail what your merge request does and why.

Related to: GitLab pages deploys greater than ~15MB fail sometimes with "pages:deploy - PG::UnableToSend: no connection to the server"

This MR moves file upload outside of the database transaction for Pages deploy job so that db transaction is not ideal for more than 60 seconds.
This feature is behind a feature flag for now.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports