Comments (1)
I was almost there. I eventually resolved this by adding the following line to config/initializers/active_job_uniqueness.rb
.
config.redlock_servers = [Redis.new(:url => ENV["REDIS_URL"], :ssl_params => { verify_mode: OpenSSL::SSL::VERIFY_NONE })]
Notice the use of Redis.new
rather than RedisClient.new
. I also had to remove 'redis://localhost:6379'
from the array of servers.
from activejob-uniqueness.
Related Issues (20)
- Kill old job if runs too long? HOT 1
- Clarification on Sidekiq patch HOT 1
- Issue unlocking Jobs manually HOT 2
- Support for Rails 7.0.0 HOT 3
- Support for re-enque later, or drop-previous HOT 2
- Turn off test_mode! for some tests only? HOT 3
- ActiveJob perform_now results in crash when the patch tries to delete the resource HOT 1
- Error when seeding HOT 1
- Support Sidekiq 7 HOT 6
- Quieting logs HOT 3
- Support Redis 6+ via Redlock 2 HOT 2
- Unlock on dead jobs in the UI
- Clear a queue
- Incompatible with Rails 7.1.0 HOT 2
- Random redis errors on delete_lock HOT 1
- Sporadic RedisClient::ConnectionError: Broken pipe HOT 6
- ActiveJob::Uniqueness::StrategyNotFound: Strategy 'until_executed' is not found. Is it declared in the configuration?
- Upgrading `0.2.5` to `0.3.1` hit some "Redlock::LockAcquisitionError" issues HOT 6
- `RedisClient::CommandError` on retry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activejob-uniqueness.