@@ -134,40 +134,40 @@ The number of concurrent connections if enforced across all method calls,
134134including different sessions of the same client.
135135
136136For guidelines on how to choose the optimal value for you, and other
137- optimization tips, see :ref: `zyte-api -optimize `.
137+ optimization tips, see :ref: `zapi -optimize `.
138138
139139
140140Errors and retries
141141==================
142142
143143Methods of :class: `ZyteAPI ` and :class: `AsyncZyteAPI ` automatically handle
144- retries for :ref: `rate-limiting <zyte-api -rate-limit >` and :ref: `unsuccessful
145- <zyte-api -unsuccessful-responses>` responses, as well as network errors.
144+ retries for :ref: `rate-limiting <zapi -rate-limit >` and :ref: `unsuccessful
145+ <zapi -unsuccessful-responses>` responses, as well as network errors.
146146
147147.. _retry-policy :
148148.. _default-retry-policy :
149149
150150The default retry policy, :data: `~zyte_api.zyte_api_retrying `, does the
151151following:
152152
153- - Retries :ref: `rate-limiting responses <zyte-api -rate-limit >` forever.
153+ - Retries :ref: `rate-limiting responses <zapi -rate-limit >` forever.
154154
155155- Retries :ref: `temporary download errors
156- <zyte-api -temporary-download-errors>` up to 3 times.
156+ <zapi -temporary-download-errors>` up to 3 times.
157157
158158- Retries network errors until they have happened for 15 minutes straight.
159159
160160All retries are done with an exponential backoff algorithm.
161161
162162.. _aggressive-retry-policy :
163163
164- If some :ref: `unsuccessful responses <zyte-api -unsuccessful-responses >` exceed
164+ If some :ref: `unsuccessful responses <zapi -unsuccessful-responses >` exceed
165165maximum retries with the default retry policy, try using
166166:data: `~zyte_api.aggressive_retrying ` instead, which modifies the default retry
167167policy as follows:
168168
169169- Temporary download error are retried 7 times. :ref: `Permanent download
170- errors <zyte-api -permanent-download-errors>` also count towards this retry
170+ errors <zapi -permanent-download-errors>` also count towards this retry
171171 limit.
172172
173173- Retries permanent download errors up to 3 times.
0 commit comments