Comments (6)
This is because of an out of date redis version. You should be able to update redis and resolve.
from mosquito.
Doesn't Mosquito lock to 0.7.x though?
Line 21 in 703a90a
Or would I just add an override?
from mosquito.
Hmm...Something's amiss. I'm running the same stack as you are, but I don't get the error. From my shard.lock:
mosquito:
git: https://github.com/mosquito-cr/mosquito.git
version: 1.0.2+git.commit.703a90a71d22c5e0495633e0af1c0b5bbd606c26
redis:
git: https://github.com/jgaskins/redis.git
version: 0.7.1
The LMOVE command had an associated bug in the redis adapter, and the commit mentioned 0adfc34e53f061545c570c9362a010b903ecf429 was present going back to 0.7.0.
Can you post your shard.lock lines for mosquito and redis?
from mosquito.
mosquito:
git: https://github.com/mosquito-cr/mosquito.git
version: 1.0.2
redis:
git: https://github.com/jgaskins/redis.git
version: 0.7.1
This is what the shard.lock had.
from mosquito.
Looks like this is caused because we're using Redis 6.0.5 in production, and LMOVE
didn't show up until 6.2. We will have to just upgrade.
from mosquito.
Since LMOVE was added merely to quit using a deprecated redis command, I think it makes sense to add a config option for this which can revert to the old behavior.
from mosquito.
Related Issues (20)
- Leaky Bucket Queue?
- Array support for params (or better error message...) HOT 5
- mosquito is completely broken after 1.0.1 HOT 5
- Graceful shutdown when receiving the TERM signal HOT 7
- High CPU usage HOT 9
- Make executor count configurable HOT 1
- Ability to specify a redis connection pool from an application, instead of making mosquito handle it all
- Add a before/after enqueue set of hooks
- Add hook for job-interrupted, and improve scheduling logic to requeue a job if it needs to be terminated
- Run mosquito using multiple processes HOT 7
- Job crashing with Missing hash key: "limit" (KeyError) HOT 11
- Address developer experience around Job#job_type
- Memoize an exception thrown by a job so it can be analyzed in an after-hook?
- Provide API for inspecting the backend data
- Provide a way to detect and clean up jobs which were started but never finished HOT 1
- Redis RPOPLPUSH command is deprecated since Redis 6.2
- Provide an easy way to cancel a job without it being rescheduled
- Support error handlers HOT 3
- Update runner to use time::span instead of bare seconds, and monotonic for the idle wait
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 mosquito.