Skip to content

Commit

Permalink
Note on changing storage implementations.
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Sep 28, 2021
1 parent c610c55 commit b04bcb0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ Implementations of :py:class:`Huey` which handle task and result persistence.
See the documentation for :py:class:`Huey` for the list of initialization
parameters common to all Huey implementations.

.. warning::
If you have a busy application and plan to switch from one of the Redis
implementations to another (e.g. switch from ``RedisHuey`` to the
``PriorityRedisHuey``) you may want to start the new huey consumer on a
different Redis database (e.g. ``db=15``). Then let your old consumer drain
any pre-existing tasks while the new consumer accepts new tasks.

.. py:class:: RedisHuey
:py:class:`Huey` that utilizes `redis <https://redis.io/>`_ for queue and
Expand Down

0 comments on commit b04bcb0

Please sign in to comment.