[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This document describes the `ModelServiceLimitedErrorCountRetryPolicy`, a retry policy designed for `ModelServiceConnection` that stops retrying if a non-transient error occurs or if more than a set number of transient failures is detected."],["The policy treats the `kUnavailable` status code as a transient error, meaning that retries will continue if this error is returned within the maximum number of errors set."],["You can control the maximum number of allowed transient errors using the `ModelServiceLimitedErrorCountRetryPolicy(int)` constructor, also you can disable the retry loop by setting `maximum_failures` to 0."],["The class provides functions like `maximum_failures()`, `OnFailure(Status const &)`, `IsExhausted()`, `IsPermanentFailure(Status const &)`, and `clone()` to manage and query the retry behavior."],["The latest version of the `ModelServiceLimitedErrorCountRetryPolicy` is 2.37.0-rc, and the documentation provides details for several older versions, all the way back to 2.27.0."]]],[]]