aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-cache/src/predictor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pingora-cache/src/predictor.rs')
-rw-r--r--pingora-cache/src/predictor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pingora-cache/src/predictor.rs b/pingora-cache/src/predictor.rs
index df8f374..d131c20 100644
--- a/pingora-cache/src/predictor.rs
+++ b/pingora-cache/src/predictor.rs
@@ -120,7 +120,7 @@ where
// CacheLockGiveUp: the writer will set OriginNotCache (if applicable)
// readers don't need to do it
NeverEnabled | StorageError | InternalError | Deferred | CacheLockGiveUp
- | CacheLockTimeout => {
+ | CacheLockTimeout | DeclinedToUpstream | UpstreamError => {
return None;
}
// Skip certain NoCacheReason::Custom according to user