Browse Source

Cache assets when finding them by tenant and name cfr the caching of devices

=> add asset in cache directives of config files
pull/948/head
Jan Bols 8 years ago
parent
commit
fb294561e6
  1. 3
      application/src/main/resources/thingsboard.yml
  2. 3
      dao/src/test/resources/application-test.properties

3
application/src/main/resources/thingsboard.yml

@ -291,6 +291,9 @@ caffeine:
devices:
timeToLiveInMinutes: 1440
maxSize: 100000
assets:
timeToLiveInMinutes: 1440
maxSize: 100000
redis:
# standalone or cluster

3
dao/src/test/resources/application-test.properties

@ -21,6 +21,9 @@ caffeine.specs.deviceCredentials.maxSize=100000
caffeine.specs.devices.timeToLiveInMinutes=1440
caffeine.specs.devices.maxSize=100000
caffeine.specs.assets.timeToLiveInMinutes=1440
caffeine.specs.assets.maxSize=100000
caching.specs.devices.timeToLiveInMinutes=1440
caching.specs.devices.maxSize=100000

Loading…
Cancel
Save