Skip to content

Commit

Permalink
Issue #561: set the default "expire-after-write" to "2m"
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch-si.com>
  • Loading branch information
thjaeckle committed Jan 16, 2020
1 parent dea9565 commit f713034
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ ditto {
maximum-size = ${?CONNECTION_ENRICHMENT_CACHE_MAXIMUM_SIZE}

# maximum duration of inconsistency after missing a cache invalidation
expire-after-write = 1m
expire-after-write = 2m
expire-after-write = ${?CONNECTION_ENRICHMENT_CACHE_EXPIRE_AFTER_WRITE}

expire-after-access = 5m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ signal-enrichment {

cache {
maximum-size = 10
expire-after-write = 1m
expire-after-write = 2m
expire-after-access = 30s
}
}
Expand Down
2 changes: 1 addition & 1 deletion services/gateway/starter/src/main/resources/gateway.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ditto {
maximum-size = ${?GATEWAY_STREAMING_SIGNAL_ENRICHMENT_CACHE_MAXIMUM_SIZE}

# maximum duration of inconsistency after missing a cache invalidation
expire-after-write = 1m
expire-after-write = 2m
expire-after-write = ${?GATEWAY_STREAMING_SIGNAL_ENRICHMENT_CACHE_EXPIRE_AFTER_WRITE}

expire-after-access = 5m
Expand Down

0 comments on commit f713034

Please sign in to comment.