Metadata-Version: 2.1
Name: celery_redis_sync
Version: 1.1.1
Summary: Synchronous Redis result store backend
Home-page: https://github.com/zeitonline/celery_redis_sync
Author: Zeit Online
Author-email: zon-backend@zeit.de
License: BSD
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Provides-Extra: test
License-File: LICENSE

=================
celery_redis_sync
=================

Synchronous Redis result store backend.

This fixes the issue that the redis publish/subscribe channels are currently
not removed properly by the default (asynchronous) redis backend, see
https://github.com/celery/celery/issues/3812. (Our "solution" is to never
create any channels in the first place.)


Usage
=====

Make sure the ``celery_redis_sync`` module is importable, and then simply
specify a ``redis+sync://`` or ``rediss+sync://`` URL in your celery configuration ``result_backend``
setting instead of the built-in ``redis://`` URL scheme.


Run tests
=========

Using `tox`_ and `py.test`_. Maybe install ``tox`` (e.g. via ``pip install tox``)
and then simply run ``tox``.

For the integration tests you need to have the redis binary installed (tests
start `their own server`_).

.. _`tox`: http://tox.readthedocs.io/
.. _`py.test`: http://pytest.org/
.. _`their own server`: https://pypi.python.org/pypi/testing.redis


celery_redis_sync
=================

1.1.1 (2022-09-27)
------------------

- Properly pass through SSL parameters for `rediss`


1.1.0 (2022-09-23)
------------------

- Also register for `rediss+sync://` URL


1.0.1 (2019-11-28)
------------------

- Declare Python-3 compatibility


1.0.0 (2017-10-05)
------------------

- Initial release
