Improve upgrade from 3.4.1 to clear assets and repositorySettings cache
This commit is contained in:
parent
08534d68c5
commit
1b5d988d71
@ -73,6 +73,11 @@ public class DefaultCacheCleanupService implements CacheCleanupService {
|
|||||||
log.info("Clear cache to upgrade from version 3.3.4 to 3.4.0 ...");
|
log.info("Clear cache to upgrade from version 3.3.4 to 3.4.0 ...");
|
||||||
clearAll();
|
clearAll();
|
||||||
break;
|
break;
|
||||||
|
case "3.4.1":
|
||||||
|
log.info("Clear cache to upgrade from version 3.4.1 to 3.4.2 ...");
|
||||||
|
clearCacheByName("assets");
|
||||||
|
clearCacheByName("repositorySettings");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
//Do nothing, since cache cleanup is optional.
|
//Do nothing, since cache cleanup is optional.
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user