Circuit breaker
Smart component · Resilience
Closed → open → half-open state machine protecting a downstream call.
Properties
Change any of these in the properties panel and the component regenerates in place. Labels, colours and arrows you attached yourself are kept.
| Property | Type | Values | Default |
|---|---|---|---|
| Failure threshold | number | 1 to 50 | 5 |
| Open timeout | text | free text | 30s |
| Half-open state | boolean | on or off | true |
| Fallback | boolean | on or off | true |
How to use it
- Open the editor and press Components, then choose the Smart tab.
- Click Circuit breaker to place it, or drag it to an exact spot.
- Adjust its properties, then connect your own shapes to its ports.