From 65cd659629d29c800fc128716974d710056f9a2c Mon Sep 17 00:00:00 2001 From: Adriano Costa Date: Thu, 31 Jan 2019 17:22:04 -0200 Subject: [PATCH] Enable Sidekiq Delay (#490) * Enable Sidekiq Delay * Update changelog --- CHANGELOG.md | 8 +++++++- config/initializers/sidekiq.rb | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e7b555a1..82c10d870 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## [Unreleased] +## [2.0.1] 2019-01-31 + +### Fix +- Enable Sidekiq Delayed Extensions + ## [2.0.0] 2019-01-31 ### Added @@ -369,7 +374,7 @@ and CVE-2018-14567) The format is based on [Keep a Changelog](http://keepachangelog.com) and this project adheres to [Semantic Versioning](http://semver.org). -[Unreleased]: https://github.com/Codeminer42/cm42-central/compare/v2.0.0...HEAD +[Unreleased]: https://github.com/Codeminer42/cm42-central/compare/v2.0.1...HEAD [1.0.0]: https://github.com/Codeminer42/cm42-central/tree/v1.0.0 [1.1.0]: https://github.com/Codeminer42/cm42-central/tree/v1.1.0 [1.1.1]: https://github.com/Codeminer42/cm42-central/tree/v1.1.1 @@ -402,3 +407,4 @@ and this project adheres to [Semantic Versioning](http://semver.org). [1.21.1]: https://github.com/Codeminer42/cm42-central/tree/v1.21.1 [1.22.0]: https://github.com/Codeminer42/cm42-central/tree/v1.22.0 [2.0.0]: https://github.com/Codeminer42/cm42-central/tree/v2.0.0 +[2.0.1]: https://github.com/Codeminer42/cm42-central/tree/v2.0.1 diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index c4d6164a7..3c7cfb056 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -1,5 +1,7 @@ require 'sidekiq' +Sidekiq::Extensions.enable_delay! + Sidekiq.configure_client do |config| config.redis = { url: ENV["REDISCLOUD_URL"], size: 1 } end