Skip to content

Commit 508b705

Browse files
authored
Update circuit breaker configuration instructions
Clarified circuit breaker configuration details in README.
1 parent 65ad140 commit 508b705

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,9 @@ The circuit breaker provides automatic failover when the primary captcha provide
145145
- Self-contained (no external dependencies)
146146

147147
**Configuration:**
148-
- Circuit breaker is **enabled by default** with `periodSeconds: 30` and `failureThreshold: 3`
149-
- To disable: set both `periodSeconds: 0` and `failureThreshold: 0`
148+
- Circuit breaker is enabled by setting two config settings: `periodSeconds` and `failureThreshold`
149+
- e.g. `periodSeconds: 30` and `failureThreshold: 3`
150+
- To disable: set both `periodSeconds: 0` and `failureThreshold: 0` (the default config)
150151
- The `poj` provider can also be used directly as the primary provider (no circuit breaker needed)
151152

152153
### Good Bots

0 commit comments

Comments
 (0)