grantcarthew / node-rethinkdb-job-queue

A persistent job or task queue backed by RethinkDB.
https://github.com/grantcarthew/node-rethinkdb-job-queue/wiki
MIT License
157 stars 16 forks source link

auto-connect to rethinkdb #85

Closed mohit5540 closed 5 years ago

mohit5540 commented 5 years ago

@grantcarthew :

How can we auto connect rethinkdb-jobqueue to rethinkdb ?

For example, rethinkdb-jobqueue connects to rethink db when we run(start) the script. While the script is continuously running, if rethinkdb goes down in between, the worker doesnt get connect with rethinkdb. We need to restart the script in order to get it connect with rethink db.

So is there any workaround on this to connect rethink db without restarting the script.

Regards

grantcarthew commented 5 years ago

Hi @mohit5540,

This is a duplicate of #77

I'm not working on the queue at the moment however if you wish to send a PR I'll be happy to work with you.

Thanks.