A process cannot open multiple redis instances?
See original GitHub issueHi, I want to create two queue in my process.But only the first queue created is useful.0
var kue = require('kue');
var queue2 = kue.createQueue({
redis: {
post: 6379,
host: "127.0.0.1",
db: 2,
}
});
var queue3 = kue.createQueue({
redis: {
post: 6379,
host: "127.0.0.1",
db: 3,
}
});
// create job
queue2.create('test2', {x: 2}).save()
queue3.create('test3', {x: 3}).save()
when I check the queue, the queue2
has two job. queue3
has none job;
How can I create multiple queue in one process? Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
How to setup and run multiple Redis server instances on a ...
We have a Redis instance running on Ubuntu 14.04, and we want to setup a second Redis instance. 1. Existing Redis Server1 instance...
Read more >Run multiple Redis Instances on your Machine | by Dileep
There are multiple methods to install Redis. we are discussing here the simplest one. Funda : Main idea is to run Redis-server on...
Read more >MSOpenTech Redis – Multiple instances on same machine
You can run the same executable multiple times starting redis-server with different configurations, either using a file ...
Read more >Is installing multiple redis instances on the server a good idea?
At Stack Exchange we run multiple instances of Redis on a single server and we have never seen any issues: [kbrandt@ny-redis01: ~] ps...
Read more >running multiple redis instances on the same server
Generally , redis runs as a background process that listens to a specific port (6379 by default) for incoming requests from clients. Running ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
I just came across this issue. When can we expect the new release with the fix? 😮
+1 to this. Tried it today without thinking and was confused when the second queue job appeared in the first queue.
Seems the only “fix”/solution right now is to JSON API post to the second queue? (Which works for queue create which is fine for me)
But, yeah, gonna need separate processes if you wanna consume two queues. (Which matches my setup anyway)