We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92bf871 commit fd3d397Copy full SHA for fd3d397
core/src/pollers/poll_buffer.rs
@@ -539,7 +539,9 @@ impl PollScalerReportHandle {
539
}
540
Err(e) => {
541
// We should only see (and react to) errors in autoscaling mode
542
- if matches!(self.behavior, PollerBehavior::Autoscaling { .. }) {
+ if matches!(self.behavior, PollerBehavior::Autoscaling { .. })
543
+ && self.ever_saw_scaling_decision.load(Ordering::Relaxed)
544
+ {
545
debug!("Got error from server while polling: {:?}", e);
546
if e.code() == Code::ResourceExhausted {
547
// Scale down significantly for resource exhaustion
0 commit comments