You are here

public function JobResult::getMaxRetries in Advanced Queue 8

Gets the maximum number of retries.

Return value

int|null The maximum number of retries, or NULL if the job type default should be used.

File

src/JobResult.php, line 117

Class

JobResult
Represents a job result.

Namespace

Drupal\advancedqueue

Code

public function getMaxRetries() {
  return $this->maxRetries;
}