Skip to content

Refactor RepositorySizeChecker additional_repository_storage_available?

What does this MR do and why?

Refactor RepositorySizeChecker#additional_repository_storage_available?. Remove dependence on namespace_storage_limit feature flag.

Without this change, when namespace storage limits are enabled for free namespaces, then paid namespaces (still using excess project repository size limits) will get an instance of RepositorySizeChecker that does not use their additional purchased storage.

MR acceptance checklist

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

Edited by Jason Goodman

Merge request reports

Loading