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:
19
src/Framework/CircuitBreaker/CircuitState.php
Normal file
19
src/Framework/CircuitBreaker/CircuitState.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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';
|
||||
}
|
||||
Reference in New Issue
Block a user