- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
20 lines
404 B
PHP
20 lines
404 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Framework\CircuitBreaker;
|
|
|
|
/**
|
|
* Circuit Breaker States nach dem Circuit Breaker Pattern
|
|
*
|
|
* CLOSED: Normal operation, requests allowed
|
|
* OPEN: Failures exceeded threshold, requests blocked
|
|
* HALF_OPEN: Testing if service recovered
|
|
*/
|
|
enum CircuitState: string
|
|
{
|
|
case CLOSED = 'closed';
|
|
case OPEN = 'open';
|
|
case HALF_OPEN = 'half_open';
|
|
}
|