Skip to content

Commit

Permalink
more realistic settings in the example and the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lyokha committed Jul 14, 2023
1 parent cb0d95d commit a8bdb37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ To illustrate this, let's emulate an upstream without round-robin balancing.
upstrand us3 {
upstream ~^u4_single_ blacklist_interval=60s;
order per_request;
next_upstream_statuses 5xx;
next_upstream_statuses error timeout non_idempotent 5xx;
intercept_statuses 5xx /Internal/failover;
}
```
Expand Down
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ http {
upstrand us4 {
upstream ~^u4_single_ blacklist_interval=60s;
order per_request;
next_upstream_statuses 5xx;
next_upstream_statuses error timeout non_idempotent 5xx;
intercept_statuses 5xx /Internal/failover;
}

Expand Down
2 changes: 1 addition & 1 deletion test/t/basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ __DATA__
upstrand us4 {
upstream ~^u4_single_ blacklist_interval=60s;
order per_request;
next_upstream_statuses 5xx;
next_upstream_statuses error timeout non_idempotent 5xx;
intercept_statuses 5xx /Internal/failover;
}

Expand Down

0 comments on commit a8bdb37

Please sign in to comment.