You are here

function purge_queue_runner_workers in Purge 7.2

Implements hook_queue_runner_workers().

Return value

array An array of workers to register.

File

./purge.module, line 41
Purge clears url's from reverse proxy caches like Varnish and Squid by issuing HTTP PURGE requests.

Code

function purge_queue_runner_workers() {
  return array(
    'purge_worker_callback' => array(
      'callback' => 'purge_worker_callback',
      'finalize' => 'purge_finalize_callback',
    ),
  );
}