Skip to content

Commit

Permalink
document new ZYTE_API_MAX_REQUESTS setting
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnzZ committed Aug 2, 2023
1 parent 660cdb2 commit 63a9d44
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,19 @@ as HTTP 520 errors, you can implement:
.. _tenacity.AsyncRetrying: https://tenacity.readthedocs.io/en/latest/api.html#tenacity.AsyncRetrying


Misc Settings
=============

- ``ZYTE_API_MAX_REQUESTS``

default: None

When set to an integer value > 0, the spider will close when the number of
successful Zyte API requests reaches it. Note that in some cases, the actual
number of successful Zyte API requests would be below this number if some of
the in-progress requests fail or error out.


Stats
=====

Expand Down

0 comments on commit 63a9d44

Please sign in to comment.