├── .gitignore ├── .pryrc ├── .rspec ├── .travis.yml ├── .yardopts ├── Appraisals ├── CHANGELOG.md ├── Gemfile ├── Guardfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── appraisal ├── guard ├── pry ├── rake ├── rspec └── yard ├── gemfiles ├── sidekiq_2.gemfile ├── sidekiq_3.gemfile ├── sidekiq_4.gemfile └── sidekiq_head.gemfile ├── lib ├── sidekiq-throttler.rb └── sidekiq │ ├── throttler.rb │ └── throttler │ ├── rate_limit.rb │ ├── storage │ ├── memory.rb │ └── redis.rb │ └── version.rb ├── sidekiq-throttler.gemspec └── spec ├── app └── workers │ ├── custom_key_worker.rb │ ├── lolz_worker.rb │ ├── proc_period_worker.rb │ ├── proc_threshold_worker.rb │ ├── proc_worker.rb │ └── regular_worker.rb ├── sidekiq ├── throttler │ ├── rate_limit_spec.rb │ └── storage │ │ └── redis_spec.rb └── throttler_spec.rb ├── spec_helper.rb └── support └── sidekiq.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/.gitignore -------------------------------------------------------------------------------- /.pryrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/.pryrc -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/.travis.yml -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/.yardopts -------------------------------------------------------------------------------- /Appraisals: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/Appraisals -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/Gemfile -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/appraisal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/bin/appraisal -------------------------------------------------------------------------------- /bin/guard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/bin/guard -------------------------------------------------------------------------------- /bin/pry: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/bin/pry -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/bin/rspec -------------------------------------------------------------------------------- /bin/yard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/bin/yard -------------------------------------------------------------------------------- /gemfiles/sidekiq_2.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/gemfiles/sidekiq_2.gemfile -------------------------------------------------------------------------------- /gemfiles/sidekiq_3.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/gemfiles/sidekiq_3.gemfile -------------------------------------------------------------------------------- /gemfiles/sidekiq_4.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/gemfiles/sidekiq_4.gemfile -------------------------------------------------------------------------------- /gemfiles/sidekiq_head.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/gemfiles/sidekiq_head.gemfile -------------------------------------------------------------------------------- /lib/sidekiq-throttler.rb: -------------------------------------------------------------------------------- 1 | require 'sidekiq/throttler' -------------------------------------------------------------------------------- /lib/sidekiq/throttler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/lib/sidekiq/throttler.rb -------------------------------------------------------------------------------- /lib/sidekiq/throttler/rate_limit.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/lib/sidekiq/throttler/rate_limit.rb -------------------------------------------------------------------------------- /lib/sidekiq/throttler/storage/memory.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/lib/sidekiq/throttler/storage/memory.rb -------------------------------------------------------------------------------- /lib/sidekiq/throttler/storage/redis.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/lib/sidekiq/throttler/storage/redis.rb -------------------------------------------------------------------------------- /lib/sidekiq/throttler/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/lib/sidekiq/throttler/version.rb -------------------------------------------------------------------------------- /sidekiq-throttler.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/sidekiq-throttler.gemspec -------------------------------------------------------------------------------- /spec/app/workers/custom_key_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/app/workers/custom_key_worker.rb -------------------------------------------------------------------------------- /spec/app/workers/lolz_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/app/workers/lolz_worker.rb -------------------------------------------------------------------------------- /spec/app/workers/proc_period_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/app/workers/proc_period_worker.rb -------------------------------------------------------------------------------- /spec/app/workers/proc_threshold_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/app/workers/proc_threshold_worker.rb -------------------------------------------------------------------------------- /spec/app/workers/proc_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/app/workers/proc_worker.rb -------------------------------------------------------------------------------- /spec/app/workers/regular_worker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/app/workers/regular_worker.rb -------------------------------------------------------------------------------- /spec/sidekiq/throttler/rate_limit_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/sidekiq/throttler/rate_limit_spec.rb -------------------------------------------------------------------------------- /spec/sidekiq/throttler/storage/redis_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/sidekiq/throttler/storage/redis_spec.rb -------------------------------------------------------------------------------- /spec/sidekiq/throttler_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/sidekiq/throttler_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/sidekiq.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gevans/sidekiq-throttler/HEAD/spec/support/sidekiq.rb --------------------------------------------------------------------------------