Skip to main content
Version: 2.4.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 static configuration for the rs-file-packager service is:

Parameter NameTypeDefaultDescription
regards.file.packager.archive.max.size.in.koInteger (in kB)1024Maximum archive size before closing a package and creating the ZIP archive.
regards.file.packager.archive.max.age.in.hoursInteger (in hours)24Maximum age of a building package before it is closed and archived.
regards.file.packager.store.complete.package.job.page.sizeInteger100Page size used when scheduling jobs to store complete packages.
regards.file.packager.archive.directoryString (path)/archiveDirectory shared between file-packager and file-access to build and store archives.
regards.file.packager.files.archive.request.bulk.sizeInteger100Number of file archive requests handled in a single batch.
regards.file.packager.storage.response.bulk.sizeInteger50Number of storage response events handled in a single batch.
regards.file.packager.complete.package.lock.duration.in.secondsInteger (in seconds)300Lock duration for the scheduler that completes packages to avoid concurrent processing.
regards.file.packager.file.deleting.lock.durationInteger (in seconds)60Lock duration for the scheduler that deletes local files after archival.
regards.file.packager.file.packaging.scheduler.lock.duration.in.secondsInteger (in seconds)300Lock duration for the scheduler that associates files to packages and closes old packages.
regards.file.packager.file.packaging.scheduler.page.sizeInteger100Page size used when scanning files waiting for packaging.
regards.file.packager.retry.file.packaging.retry.lock.durationInteger (in seconds)60Lock duration for the scheduler that retries packaging operations in error.
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.