diff --git a/docs/usage/retry.rst b/docs/usage/retry.rst index ee45b15b..ae3c5b8a 100644 --- a/docs/usage/retry.rst +++ b/docs/usage/retry.rst @@ -58,10 +58,11 @@ including ready-to-use examples. In scrapy-zyte-api, use the :setting:`ZYTE_API_RETRY_POLICY` setting or the :reqmeta:`zyte_api_retry_policy` :attr:`Request.meta -` key to point to a custom retry policy or to its -import path, to override the default retry policy: +` key to point to the import path of a retry policy +to use. For example, to switch to the :ref:`aggressive retry policy +`: .. code-block:: python :caption: settings.py - ZYTE_API_RETRY_POLICY = "project.retry_policies.CUSTOM_RETRY_POLICY" + ZYTE_API_RETRY_POLICY = "zyte_api.aggressive_retrying"