Revert "cache service: don't skip already up to date archives"

This reverts commit cb90940b54dc07dd2221d3169e569b08876a3265.
This commit is contained in:
Adam
2018-01-19 14:12:50 -05:00
parent 057327463e
commit 1eeab55b01
3 changed files with 1 additions and 17 deletions

View File

@@ -279,10 +279,6 @@ public class CacheClient implements AutoCloseable
{
logger.debug("Archive {}/{} in index {} is up to date",
ad.getId(), indexData.getArchives().length, index.getId());
if (watcher != null)
{
watcher.alreadyUpToDate(existing);
}
continue;
}

View File

@@ -31,7 +31,5 @@ public interface DownloadWatcher
{
void indexComplete(Index index);
void alreadyUpToDate(Archive archive);
void downloadComplete(Archive archive, byte[] data);
}