Ë ø¦¹bãó<—ddlZddlmZddlmZmZGd„d«Zy)éN)Úsleep)ÚConnectionErrorÚ TimeoutErrorcóF—eZdZdZeeejffd„Zde fd„Z d„Z y)ÚRetryz0Retry a specific number of times after a failurecó.—||_||_||_y)a' Initialize a `Retry` object with a `Backoff` object that retries a maximum of `retries` times. `retries` can be negative to retry forever. You can specify the types of supported errors which trigger a retry with the `supported_errors` parameter. N)Ú_backoffÚ_retriesÚ_supported_errors)ÚselfÚbackoffÚretriesÚsupported_errorss ú-/usr/lib/python3/dist-packages/redis/retry.pyÚ__init__zRetry.__init__ s€ð ˆŒ ؈Œ Ø!1ˆÕóÚspecified_errorscób—tt|jt|«z««|_y)zM Updates the supported errors with the specified error types N)ÚtupleÚsetr )r rs rÚupdate_supported_errorszRetry.update_supported_errorss*€ô"'Ü ×&Ñ&¬Ð/?Ó)@Ñ@Ó Aó" ˆÕrcó6—|jj«d} |«S#|j$rb}|dz }||«|jdk\r||jkDr|‚|jj |«}|dkDr t |«Yd}~nd}~wwxYwŒ})a& Execute an operation that might fail and returns its result, or raise the exception that was thrown depending on the `Backoff` object. `do`: the operation to call. Expects no argument. `fail`: the failure handler, expects the last error that was thrown réN)r Úresetr r Úcomputer)r ÚdoÚfailÚfailuresÚerrorr s rÚcall_with_retryzRetry.call_with_retry#s’€ð ‰ ×ÑÔØˆØð #Ù“t øØ×)Ñ)ò #ؘA‘ ÙU” Ø—=‘= AÒ%¨(°T·]±]Ò*BØKØŸ-™-×/Ñ/°Ó9ؘQ’;ܘ'”Nÿøð #úðsŸ&¦BµABÂBN) Ú__name__Ú __module__Ú __qualname__Ú__doc__rrÚsocketÚtimeoutrÚlistrr ©rrrrs+„Ù:ð *¨<¸¿¹ÐHó 2ð" ¸ó ó#rr)r%ÚtimerÚredis.exceptionsrrrr(rrúr+sðÛ Ýç:÷/#ò/#r