lib/congestion.rb in congestion-0.0.2 vs lib/congestion.rb in congestion-0.0.3
- old
+ new
@@ -11,10 +11,10 @@
self.default_options = {
namespace: 'congestion', # Redis key namespace
interval: 1, # 1 second
max_in_interval: 1, # 1 / second
min_delay: 0, # none
- track_rejected: false
+ track_rejected: true
}
self.redis = ->{
Redis.new
}