constant HOSTING_QUEUE_TYPE_BATCH in Hosting 7.3
Same name and namespace in other branches
- 7.4 hosting.module \HOSTING_QUEUE_TYPE_BATCH
A batch queue type.
This queue type aims to process repeatable tasks spread out over a configurable interval.
See the processing code in hosting_get_queues() for the exact implementation.
This queue type will:
- Process items in the queue at some small number of specific points, evenly spaced throughout the configurable interval.
- Process as many items at those intervals so that all the items are processed at least once over the configurable interval.
See also
4 uses of HOSTING_QUEUE_TYPE_BATCH
- hosting_cron_hosting_queues in cron/
hosting_cron.module - Implements hook_hosting_queues().
- hosting_get_queues in ./
hosting.queues.inc - Retrieve a list of queues that need to be dispatched
- hosting_queues_configure in ./
hosting.module - Form to configure the frequency of queue execution.
- hosting_task_gc_hosting_queues in task_gc/
hosting_task_gc.module - Implements hook_hosting_queues().
File
- ./
hosting.module, line 41 - Hosting module.
Code
define('HOSTING_QUEUE_TYPE_BATCH', 'batch');