Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -25,7 +25,7 @@ public class CacheProperties {
|
||||
/**
|
||||
* TTL for cached entries in millis.
|
||||
*/
|
||||
private int ttl;
|
||||
private int ttl = 10_000; // default TTL - 10 seconds
|
||||
|
||||
/**
|
||||
* Initial delay in millis
|
||||
|
||||
@@ -37,6 +37,11 @@ server.servlet.encoding.force=true
|
||||
hawkbit.server.ddi.security.authentication.targettoken.enabled=false
|
||||
hawkbit.server.ddi.security.authentication.gatewaytoken.enabled=false
|
||||
|
||||
# Cache configuration,
|
||||
# disable expiration since monolith is expected to be used as an all-in-one hawkBit instance,
|
||||
# i.e. no microservices and 1 replica, then evict should do work
|
||||
hawkbit.cache.global.ttl=0
|
||||
|
||||
# Optional events
|
||||
hawkbit.server.repository.publish-target-poll-event=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user