lib/ahoy.rb in ahoy_matey-1.3.1 vs lib/ahoy.rb in ahoy_matey-1.4.0

- old
+ new

@@ -1,15 +1,14 @@ -require "rails" require "active_support/core_ext" require "addressable/uri" require "browser" require "geocoder" require "referer-parser" require "user_agent_parser" require "request_store" require "uuidtools" -require "errbase" +require "safely_block" require "ahoy/version" require "ahoy/tracker" require "ahoy/controller" require "ahoy/model" @@ -25,11 +24,10 @@ require "ahoy/stores/log_store" require "ahoy/stores/fluentd_store" require "ahoy/stores/mongoid_store" require "ahoy/stores/kinesis_firehose_store" require "ahoy/stores/bunny_store" -require "ahoy/log_silencer" require "ahoy/engine" require "ahoy/warden" if defined?(Warden) # background jobs begin @@ -74,9 +72,12 @@ 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 if valid id