[PublishingSettings]
Available before Exponential 6: the legacy kernel had it before Exponential 6; the 4.x reference had no page for it.
Summary
The group [PublishingSettings] of settings/content.ini.
File
settings/content.ini; override it in settings/override/content.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| AsynchronousPublishing | disabled | Enable/Disable the asynchronous publishing feature |
| PublishingProcessSlots | 10 | how many parallel publishing operations should be allowed default: 10 |
| AsynchronousPublishingFilters[] | (empty array) | Asynchronous Publishing filters Each filter must implement the eZAsynchronousPublishinfFilter abstract class, and the class name must be added to this array. Ex: AsynchronousPublishingFilters[]=MyAPFilterClass |
| AsynchronousPublishingPreQueueHooks[] | (empty array) | Queue hooks You can have your own code executed before an item is added to the publishing queue It isn't possible to do so after it is added as there is no way to ensure it isn't already being handled Hooks can either be registered dynamically, using PHP code, or pre-defined in INI settings using the following variable AsynchronousPublishingQueueHooks[]=MyHookClass::queue The hook method must accept two parameters: the content object id, and its version (both integers) |
| AsynchronousPublishingPostHandlingHooks[] | (empty array) | Post handling hooks These hooks will be executed right after an item has been processed by asynchronous publishing It can for instance be used to remove custom data added in a Queue hook AsynchronousPublishingQueueHooks[]=MyHookClass::postHandle |
| AsynchronousPublishingQueueReader | ezpContentPublishingQueue | Queue reader handler Exponential comes with a default queue reader handler, but it can be overridden with a custom one To define a new queue reader, override AsynchronousPublishingQueueReader with your class name: AsynchronousPublishingQueueReader=myContentPublishingQueue The class configured here must declare a method named next() |
| AsynchronousPollingInterval | 1 | How frequent the daemon polls the queue (sleep in seconds) default: 1 |
| AsynchronousCleanupInterval | 43200 | How frequent the daemon cleans the queue (sleep in seconds) default: 43200 (12 hours) |
| AsynchronousCleanupAgeLimit | 604800 | How old processes need to be in order to be cleaned (in seconds) default: 604800 (a week) |
See also
Generated example: content.ini [PublishingSettings]
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/content.ini.
Contributors
- Graham Brookins Updated
Comments
Add a comment