-
Notifications
You must be signed in to change notification settings - Fork 224
/
reference.conf
38 lines (31 loc) · 1.18 KB
/
reference.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This is the reference config file that contains all the default settings.
# Make your edits/overrides in your application.conf.
enforcement-cache-dispatcher {
type = "Dispatcher"
executor = "org.eclipse.ditto.internal.utils.metrics.executor.InstrumentedThreadPoolExecutorServiceConfigurator"
}
enforcement-dispatcher {
type = "Dispatcher"
executor = "org.eclipse.ditto.internal.utils.metrics.executor.InstrumentedThreadPoolExecutorServiceConfigurator"
}
ditto.extensions {
pre-enforcer-provider {
extension-class = org.eclipse.ditto.policies.enforcement.pre.PreEnforcerProvider
extension-config {
pre-enforcers = []
}
}
}
ditto.policies-enforcer-cache {
enabled = true
enabled = ${?DITTO_POLICIES_ENFORCER_CACHE_ENABLED}
# how many enforcers to cache
maximum-size = 50000
maximum-size = ${?DITTO_POLICIES_ENFORCER_CACHE_MAX_SIZE}
# maximum duration of inconsistency after losing a cache invalidation
expire-after-write = 1h
expire-after-write = ${?DITTO_POLICIES_ENFORCER_CACHE_EXPIRE_AFTER_WRITE}
# prolonged on each cache access by that duration
expire-after-access = 15m
expire-after-access = ${?DITTO_POLICIES_ENFORCER_CACHE_EXPIRE_AFTER_ACCESS}
}