Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a HostedRepositoryPool to refresh the seed from upstream #874

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -66,6 +66,7 @@ private void refreshSeed(boolean allowStale) throws IOException {
try {
Files.move(tmpSeedFolder, seed);
log.info("Seeded repository " + hostedRepository.name() + " into " + seed);
return;
} catch (IOException e) {
log.info("Failed to populate seed folder " + seed + " - perhaps due to a benign race. Ignoring..");
clearDirectory(tmpSeedFolder);