Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stfndamjanovic committed Jan 18, 2024
1 parent ab052cb commit e10842f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ composer require stfndamjanovic/php-circuit-breaker

## Usage

Wrap your potentially error-prone function with the circuit breaker, and it will monitor and handle failures gracefully. The circuit breaker tracks the occurrence of exceptions and takes preventive measures, such as opening the circuit, if failures become too frequent. During the circuit open state, calls to the function are temporarily halted, allowing the system to recover. You have the flexibility to configure the timespan for which the circuit remains open which we will explain later.
Wrap your potentially error-prone function with the circuit breaker, and it will monitor and handle failures. The circuit breaker tracks the occurrence of exceptions and takes preventive measures, such as opening the circuit, if failures become too frequent. During the circuit open state, calls to the function are temporarily halted, allowing the system to recover.

```php
use Stfn\CircuitBreaker\CircuitBreaker;
Expand Down

0 comments on commit e10842f

Please sign in to comment.