Update README.rst

This commit is contained in:
Shay Palachy
2020-10-20 16:41:42 +03:00
committed by GitHub
parent cae343f9ec
commit 4e1999d465
+6
View File
@@ -207,6 +207,12 @@ You can set a MongoDB-based cache by assigning ``mongetter`` with a callable tha
This allows you to have a cross-machine, albeit slower, cache. This functionality requires that the installation of the ``pymongo`` python package.
In certain cases the MongoDB backend might leave a deadlock behind, blocking all subsequent requests from being processed. If you encounter this issue, supply the ``wait_for_calc_timeout`` with a reasonable number of seconds; calls will then wait at most this number of seconds before triggering a recalculation.
.. code-block:: python
@cachier(mongetter=False, wait_for_calc_timeout=2)
Contributing
============