Skip to the content
Documentation

[StorageSettings]

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The group [StorageSettings] of settings/contentcheck.ini.

File

settings/contentcheck.ini; override it in settings/override/contentcheck.ini.append.php, in a siteaccess or in an extension.

Settings

Setting Default Description
ScanDirectoryList[] images; images-versioned; original The storage files (doc/eng-us/features/6.0/content-checks.md, "Storage files"): files below var/<site>/storage that no content uses, and the file-system problems of those it uses. The directories below the storage that are scanned
IgnorePathList[] images/_video-thumbnails Paths below the storage that are never listed (prefixes): caches other code keeps there
ScanBatchSize 2000 Files read in one step of the scan (50 to 50000), and how long a step in the browser may take before it stops at the end of a batch (seconds, 1 to 25); the CLI runs the whole scan
StepSeconds 4  
MaxListed 5000 Orphans and problems kept in the result of a scan (100 to 100000); the totals count on
MinAge 86400 A file younger than this (seconds) is never an orphan: an upload writes the file before its row in the database
ExpectedOwner (empty) The owner every used file should have: a user name or id; empty: the owner of the storage directory. The mode every used file should have at least (octal); empty: site.ini [FileSettings] StorageFilePermissions
FileMode (empty)  
QuarantineDirectory storage-quarantine Where orphans are moved: var/<site>/<QuarantineDirectory>/<date>/<path below the storage>
MaxActionBatch 200 At most this many files are taken from one confirmation (1 to 1000)

See also

Generated example: contentcheck.ini [StorageSettings]

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/contentcheck.ini.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.