All Downloads are FREE. Search and download functionalities are using the official Maven repository.

itto.ditto-policies-enforcement.3.6.2.source-code.reference.conf Maven / Gradle / Ivy

There is a newer version: 3.6.3
Show newest version
# 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.service.executor.InstrumentedThreadPoolExecutorServiceConfigurator"
}

enforcement-dispatcher {
  type = "Dispatcher"
  executor = "org.eclipse.ditto.internal.utils.metrics.service.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}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy