class StaticPagesQueueHealthCheck implements EnvironmentCheck (View source)

Used in the 'environmentchecks' module.

Checks that the oldest queued item is newer than a certain age, which points to a functioning queue processing.

Properties

protected $maxAgeMins

Methods

public
__construct($maxAgeMins = 300)

No description

public
array
check()

No description

Details

__construct($maxAgeMins = 300)

No description

Parameters

$maxAgeMins

array check()

No description

Return Value

array

Result with 'status' and 'message' keys.

Status is EnvironmentCheck::ERROR, EnvironmentCheck::WARNING, or EnvironmentCheck::OK.