Skip to content

Commit

Permalink
Merge pull request #41 from k0kubun/fix-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
eagletmt committed Jan 12, 2018
2 parents f464802 + ec1f25e commit 5e6e1b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ The metrics is gradually collected by breaking given time window into some peice

```ruby
service = Expeditor::Service.new(
threshold: 0.5, # If the failure rate is more than or equal to threshold, the circuit will be opened.
sleep: 1, # If once the circuit is opened, the circuit is still open until sleep time seconds is passed even though failure rate is less than threshold.
non_break_count: 20 # If the total count of metrics is not more than non_break_count, the circuit is not opened even though failure rate is more than threshold.
period: 10, # Time window of collecting metrics (in seconds).
threshold: 0.5, # If the failure rate is more than or equal to threshold, the circuit will be opened.
sleep: 1, # If once the circuit is opened, the circuit is still open until sleep time seconds is passed even though failure rate is less than threshold.
non_break_count: 20, # If the total count of metrics is not more than non_break_count, the circuit is not opened even though failure rate is more than threshold.
period: 10, # Time window of collecting metrics (in seconds).
)

command = Expeditor::Command.new(service: service) do
Expand Down

0 comments on commit 5e6e1b2

Please sign in to comment.