Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
28
src/Framework/Health/HealthCheckInterface.php
Normal file
28
src/Framework/Health/HealthCheckInterface.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Framework\Health;
|
||||
|
||||
interface HealthCheckInterface
|
||||
{
|
||||
/**
|
||||
* Perform the health check
|
||||
*/
|
||||
public function check(): HealthCheckResult;
|
||||
|
||||
/**
|
||||
* Get the name of this health check
|
||||
*/
|
||||
public function getName(): string;
|
||||
|
||||
/**
|
||||
* Get the category of this health check
|
||||
*/
|
||||
public function getCategory(): HealthCheckCategory;
|
||||
|
||||
/**
|
||||
* Get the timeout for this health check in milliseconds
|
||||
*/
|
||||
public function getTimeout(): int;
|
||||
}
|
||||
Reference in New Issue
Block a user