Skip to content
Commit ee4af0c6 authored by Gabriel Mazetto's avatar Gabriel Mazetto
Browse files

Only set as `read_only` when starting the per-project migration

In the previous code, we locked the project during the migration
scheduling step, which works fine for small setups, but can be
problematic in really big installations.

We now moved the logic to inside the worker, so we minimize the time a
project will be read-only. We also make sure we only do that if
reference counter is `0` (no current operation is in progress).
parent 73803642
Loading
Loading
Loading