README.md in rapporteur-load_check-1.0.0 vs README.md in rapporteur-load_check-1.1.0
- old
+ new
@@ -24,9 +24,18 @@
```ruby
# config/initializers/production.rb
Rapporteur::Checker.add_check(Rapporteur::Checks::LoadCheck)
```
+By default, a load value of 8 or greater triggers a failure. You can adjust
+this value by passing the threshold to LoadCheck.new, like so:
+
+```ruby
+Rapporteur::Checker.add_check(Rapporteur::Checks::LoadCheck.new(4))
+```
+
+The above would cause the checker to fail if load goes above 4.0.
+
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)