[UnreferencedSettings]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The group [UnreferencedSettings] 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 |
|---|---|---|
| AssetClassList[] | image; file; video; audio; flash; quicktime; windows_media; real_video | The classes the list covers: assets that only matter when something uses them. A page, a folder, a user or a settings object is reached through the tree (navigation, menus, search) whether or not anything links to it, so it is never called unreferenced. |
| StorageParentClassList[] | folder | An asset is listed only when every location's parent is of one of these classes (a folder that only stores it). Below any other parent (a gallery, an article, an event) the parent's template shows it, so it counts as used. |
| MaxTrashBatch | 50 | At most this many objects are moved to the trash in one confirmation (1 to 200) |
| IndexTTL | 600 | The reference index: every id, remote id and path that fields, links, layouts, settings, templates, roles and the tables below use. It is kept this many seconds (0 to 604800). |
| BuildOnRequest | true | true: a page builds the index when it is older than IndexTTL (the move to the trash always builds it). false (very large installations): only bin/php/contentcheck.php --build-index or the cronjob part cronjobs/contentcheck.php builds it; the list then shows the last index, and the move to the trash needs one younger than IndexTTL. |
| ScanChunkSize | 2000 | Fields read per query while building the index (100 to 20000) |
| CandidateLimit | 20000 | At most this many candidates (assets below the node) are judged for one list (100 to 500000); with more, the list asks for a smaller subtree or fewer classes |
| ObjectColumns[] | ezproductcollection_item.contentobject_id; ezinfocollection.contentobject_id; ezpending_actions.param; ezuser_role.contentobject_id; cjwnl_edition_article.contentobject_id; cjwnl_edition_send.edition_contentobject_id; cjwnl_edition_send.list_contentobject_id; cjwnl_link.contentobject_id; cjwnl_schedule.template_edition_contentobject_id; cjwnl_schedule.list_contentobject_id; ... | Table columns that hold an object id, a node id, or a list or path of node ids. A row there keeps the object or node from being called unreferenced. A table or column that does not exist is skipped, so the tables of extensions can be listed here. |
| NodeColumns[] | ezsubtree_notification_rule.node_id; ezcontentbrowsebookmark.node_id; eznode_assignment.parent_node | subtree notifications and bookmarks |
| NodeListColumns[] | (empty array) |
See also
Generated example: contentcheck.ini [UnreferencedSettings]
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
- Graham Brookins Updated
Comments
Add a comment