Skip to content

Only schedule PagesTransferWorker when project or namespace has pages

Sean McGivern requested to merge pages-transfer-worker-guard into master

What does this MR do?

First commit: if a project has no pages deployed, we don't need to schedule this worker at all.

Second commit: when we change a namespace's path, we only need to move pages directories on disk for its projects if it has any projects with deployed pages sites.

See !40492 (comment 403118483)

Edited by Sean McGivern

Merge request reports