forked from j62/ctbrec
Invalidate cache entries, if model is public and resolution is 0
This commit is contained in:
parent
e6ce54e1d8
commit
e61cff48f2
|
@ -203,6 +203,7 @@ public class ThumbCell extends StackPane {
|
||||||
try {
|
try {
|
||||||
if (model.isOnline() && resolution[1] == 0) {
|
if (model.isOnline() && resolution[1] == 0) {
|
||||||
LOG.debug("Removing invalid resolution value for {}", model.getName());
|
LOG.debug("Removing invalid resolution value for {}", model.getName());
|
||||||
|
model.invalidateCacheEntries();
|
||||||
}
|
}
|
||||||
} catch (IOException | ExecutionException | InterruptedException e) {
|
} catch (IOException | ExecutionException | InterruptedException e) {
|
||||||
LOG.error("Coulnd't get resolution for model {}", model, e);
|
LOG.error("Coulnd't get resolution for model {}", model, e);
|
||||||
|
|
Loading…
Reference in New Issue