Layers - AFS - Reference Guides

AFS Configuration Options

Product
AFS
Platform
7.12
Category
Reference Guides
Language
English

Prefix: PaF/Filters/Layers

Layer related options

The following table lists and describes the Layers configuration options.

Option

Type (default)

Description

Role

Editable in Back Office

overwrite

bool (true)

If true a new revision of a layer contents overwrites the previous value. Set to false to enable rollback

developer

Yes

maxRevisions

uint (2)

In non-overwrite mode, specifies how many revisions of the layer we want to keep. maxRevisions=1 is the same as overwrite, maxRevisions=2 is the minimum for rollback support. In overwrite mode, this value is ignored

developer

Yes

inlinedMaxSizeKb

uint (10)

The maximum size in kilobytes for a layer above which it's not inlined anymore but written in gridFS, hence slower read/writes. Beware that there is an hard limit of 16MB for the size of a mongo document, which in this case is approximately the sum of inlined layer multiplied by the number of revisions

developer

Yes