Run background migrations with a minimum interval Closes #41624 See merge request gitlab-org/gitlab-ce!16230