lib/ahoy.rb in ahoy_matey-1.5.0 vs lib/ahoy.rb in ahoy_matey-1.5.1

- old
+ new

@@ -70,9 +70,18 @@ self.max_events_per_request = 10 mattr_accessor :mount self.mount = true + mattr_accessor :throttle + self.throttle = true + + mattr_accessor :throttle_limit + self.throttle_limit = 20 + + mattr_accessor :throttle_period + self.throttle_period = 1.minute + mattr_accessor :job_queue self.job_queue = :ahoy def self.ensure_uuid(id) valid = UUIDTools::UUID.parse(id) rescue nil