You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
loop {
match self.agent.request_status_raw(&request_id).await? {
…
RequestStatusResponse::Unknown => (),
RequestStatusResponse::Received | RequestStatusResponse::Processing => {
// The system will return Unknown until the request is accepted
// and we generally cannot know how long that will take.
// State transitions between Received and Processing may be
// instantaneous. Therefore, once we know the request is accepted,
// we restart the waiter so the request does not time out.
if !request_accepted {
waiter
.restart()
.map_err(|_| AgentError::WaiterRestartError())?;
request_accepted = true;
}
}
…
};
will very aggressively hammer the read endpoint, possibly starving that node. [There should be some delays here.]
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: