Browse Source
Merge pull request #12135 from thingsboard/improvements/resources-upgrade
Update cache cleanup service
pull/11905/merge
Viacheslav Klimov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
0 deletions
-
application/src/main/java/org/thingsboard/server/service/install/update/DefaultCacheCleanupService.java
|
|
@ -65,6 +65,10 @@ public class DefaultCacheCleanupService implements CacheCleanupService { |
|
|
log.info("Clearing cache to upgrade from version 3.7.0 to 3.8.0"); |
|
|
log.info("Clearing cache to upgrade from version 3.7.0 to 3.8.0"); |
|
|
clearAll(); |
|
|
clearAll(); |
|
|
break; |
|
|
break; |
|
|
|
|
|
case "3.8.1": |
|
|
|
|
|
log.info("Clearing cache to upgrade from version 3.8.1 to 3.9.0"); |
|
|
|
|
|
clearAll(); |
|
|
|
|
|
break; |
|
|
default: |
|
|
default: |
|
|
//Do nothing, since cache cleanup is optional.
|
|
|
//Do nothing, since cache cleanup is optional.
|
|
|
} |
|
|
} |
|
|
|