You are here

public function ContentHubExportQueueController::getWaitingTime in Acquia Content Hub 8

Obtains the Queue waiting time in seconds.

Return value

int Amount in seconds of time to wait before processing an item in the queue.

File

src/Controller/ContentHubExportQueueController.php, line 169

Class

ContentHubExportQueueController
Implements an Export Queue Controller for Content Hub.

Namespace

Drupal\acquia_contenthub\Controller

Code

public function getWaitingTime() {
  $waiting_time = $this->config
    ->get('export_queue_waiting_time');
  return $waiting_time ?: 3;
}