Commit fb294561e6403c2afdace8f6629776057c8c72c6

Authored by Jan Bols
1 parent 4e91b28a

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

=> add asset in cache directives of config files
@@ -291,6 +291,9 @@ caffeine: @@ -291,6 +291,9 @@ caffeine:
291 devices: 291 devices:
292 timeToLiveInMinutes: 1440 292 timeToLiveInMinutes: 1440
293 maxSize: 100000 293 maxSize: 100000
  294 + assets:
  295 + timeToLiveInMinutes: 1440
  296 + maxSize: 100000
294 297
295 redis: 298 redis:
296 # standalone or cluster 299 # standalone or cluster
@@ -21,6 +21,9 @@ caffeine.specs.deviceCredentials.maxSize=100000 @@ -21,6 +21,9 @@ caffeine.specs.deviceCredentials.maxSize=100000
21 caffeine.specs.devices.timeToLiveInMinutes=1440 21 caffeine.specs.devices.timeToLiveInMinutes=1440
22 caffeine.specs.devices.maxSize=100000 22 caffeine.specs.devices.maxSize=100000
23 23
  24 +caffeine.specs.assets.timeToLiveInMinutes=1440
  25 +caffeine.specs.assets.maxSize=100000
  26 +
24 caching.specs.devices.timeToLiveInMinutes=1440 27 caching.specs.devices.timeToLiveInMinutes=1440
25 caching.specs.devices.maxSize=100000 28 caching.specs.devices.maxSize=100000
26 29