Skip to main content
Version: 2.5.0

Static Configuration

Static configuration refers to the microservice configuration defined in a property file before the microservice starts. This configuration is common to all tenants.

The configuration for the file-cache microservice is:

Property nameTypeDefault valueDescription
Handler---------
regards.storage.file.cache.restoration.request.response.bulk.sizeInteger100Batch size for processing file restoration response events.
regards.storage.file.cache.restoration.request.creation.bulk.sizeInteger100Batch size for processing restoration file request events.
regards.storage.file.cache.download.request.response.bulk.sizeInteger100Batch size for processing download file response events.
Service---------
regards.storage.file.cache.restoration.request.processing.bulk.sizeInteger100Page size used when processing file restore operations.
regards.storage.file.cache.expiration.hoursInteger24Maximum age of a file in the cache.
internal.cache.almost.full.threshold.percentInteger90Cache usage threshold that triggers overflow handling.
internal.cache.getting.full.threshold.percentInteger70Usage threshold (%) for getting-full internal cache alert.
regards.storage.file.cache.purge.bulk.sizeInteger500Page size used for internal cache cleanup.
regards.storage.file.cache.purge.max.simultaneous.file.deletionInteger10000Maximum number of cache files deleted in one bulk deletion step.
regards.storage.cache.availability.hoursInteger24Lifetime of a cached file in hours.
Schedulers---------
regards.storage.file.cache.restoration.expiration.scheduleString0 0/6 * * * *Cron expression for the periodicity of the expiration check of cached files. By default every 6 hours.
regards.storage.file.cache.restoration.completion.scheduleString0 * * * * *Cron expression for the periodicity of checking request completion for duplicate requests. By default every minute.
regards.storage.file.cache.restore.file.scheduleString0 * * * * *Cron expression for the periodicity of the scheduling of restoration jobs. By default every minute.
info

Some of these properties are customizable in the Ansible inventory (see the installation guide).

To make additional properties customizable, you need to update the corresponding Ansible playbook, specifically the regards-mconfig role.