Comments (1)
I'm seeing the same thing. Here's a backtrace:
7) TransactionObserver#after_destroy enqueues jobs
Failure/Error: let(:account) { FactoryGirl.create(:account) }
Redis::CannotConnectError:
Error connecting to Redis on localhost:6379 (ECONNREFUSED)
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis/client.rb:276:in `rescue in establish_connection'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis/client.rb:271:in `establish_connection'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis/client.rb:69:in `connect'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis/client.rb:290:in `ensure_connected'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis/client.rb:177:in `block in process'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis/client.rb:256:in `logging'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis/client.rb:176:in `process'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis/client.rb:84:in `call'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis.rb:1997:in `block in watch'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis.rb:36:in `block in synchronize'
# /Users/ahutchison/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis.rb:36:in `synchronize'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-3.0.4/lib/redis.rb:1996:in `watch'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/redis-namespace-1.3.1/lib/redis/namespace.rb:317:in `method_missing'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/sidekiq-unique-jobs-2.6.6/lib/sidekiq-unique-jobs/middleware/client/unique_jobs.rb:22:in `block in call'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/connection_pool-1.1.0/lib/connection_pool.rb:49:in `with'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/sidekiq-2.13.0/lib/sidekiq.rb:67:in `redis'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/sidekiq-unique-jobs-2.6.6/lib/sidekiq-unique-jobs/middleware/client/unique_jobs.rb:20:in `call'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/sidekiq-2.13.0/lib/sidekiq/middleware/chain.rb:111:in `block in invoke'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/sidekiq-2.13.0/lib/sidekiq/middleware/chain.rb:114:in `call'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/sidekiq-2.13.0/lib/sidekiq/middleware/chain.rb:114:in `invoke'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/sidekiq-2.13.0/lib/sidekiq/client.rb:116:in `process_single'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/sidekiq-2.13.0/lib/sidekiq/client.rb:41:in `push'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/sidekiq-2.13.0/lib/sidekiq/worker.rb:85:in `client_push'
# /Users/ahutchison/.rvm/gems/ruby-2.0.0-p247@abacus/gems/sidekiq-2.13.0/lib/sidekiq/worker.rb:40:in `perform_async'
# ./app/observers/account_observer.rb:3:in `after_create'
from sidekiq-unique-jobs.
Related Issues (20)
- until and while executing with different arguments for client/server HOT 2
- Got often got Limit exceeded message in changelog HOT 1
- Unlock jobs when queue is deleted HOT 2
- Allow one running job but at most one job in the queue HOT 2
- while_executing jobs being dropped HOT 4
- Support for redis 5
- TypeError: Unsupported command argument type: ActiveSupport::Duration HOT 4
- Missing v7.1 branch? HOT 1
- Locks not removed after worker finishes HOT 6
- Large retry queue causes reaper to run too slow HOT 3
- 8.0.1 Time on locks & changelog UI is incorrect/wrong HOT 5
- Jobs queued during existing job inherit lock digest HOT 1
- My configuration is correct or not. Because uniq job not remove all job process in sidekiq ?
- Redis server v6.0 compatibility HOT 4
- `while_executing` with `on_conflict: :reschedule` reschedules job when unlock fails HOT 7
- Problems with reaper and long running jobs HOT 10
- Migrate away from deprecated Redis commands HOT 2
- `unlocked` reflection is never called
- Logging::Middleware.context can include empty string as key when lock is not set in job hash HOT 1
- PRIMED key grows indefinitely when job re-queues itself in `after_unlock` callback HOT 1
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 sidekiq-unique-jobs.