cache service: don't skip already up to date archives
This commit is contained in:
@@ -279,6 +279,10 @@ 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;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,5 +31,7 @@ public interface DownloadWatcher
|
||||
{
|
||||
void indexComplete(Index index);
|
||||
|
||||
void alreadyUpToDate(Archive archive);
|
||||
|
||||
void downloadComplete(Archive archive, byte[] data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user