Skip to content

Reconnect ActiveRecord connections when forking in Unicorn

yorickpeterse-staging requested to merge unicorn-forking into master

This ensures we disconnect before forking, and re-connect after forking. This should prevent a master and child processes from sharing database connections.

Fixes https://gitlab.com/gitlab-com/infrastructure/issues/1134

Merge request reports