Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes #14491 - add setting to enable/disable lazy sync #5939
Waiting on contributor
Apr 6, 2016
The question I have is if a user sets the download_policy to background for a repo and then disables and re-enables lazy sync, will the download_policy still be background?
Also, you might want to talk to pulp to see if there's a way to perform an immediate sync even if the download_policy isn't immediate. I don't think there is but would be good to confirm.
@daviddavis the download policy would still be background. Having "enable download policies" turned on and creating a repo with a background download policy, then switching "enable download policies" off, I think it would be ok to assume that the repos created with the setting on still have their original download policies. The only restraints I put are on new repos. One thing we can do is specify in the setting description that enabling or disabling download policies will only affect new repos