blehnen / DotNetWorkQueue

A work queue for dot.net with SQL server, SQLite, Redis and PostGreSQL backends

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I've had a couple of questions. Please answer, thank you.

cncap opened this issue · comments

commented

1, After the consumer initializes the instance, if the REDIS is disconnected, the consumer can not reconnect to the REDIS when the REDIS is reopened.
2, The consumer once Start(), unless the withdrawal process, it has been running, can not find any way to terminate, can you consider joining Stop()?
3. In QueueContainer, only Create has no Remove. @@how can I remove the created producer or comsumer?

Hi,

  1. This is something I will need to look into, as it should re-connect when REDIS is back up.

I'm assuming it can be duplicated by

A) Create a queue and add work to it
B) Start a consumer
C) Stop redis
D) Re-start redis
E) The consumer will not process any work, even with Redis back up and connectable ?

  1. Currently, the only way to stop the queue is to call Dispose() on it. Are you asking for a Stop() so that you can Start/Stop the same consumer instance ?

  2. Disposing the producer/consumer should be all that's required.