diff --git a/.bleep b/.bleep index 86a87b9..becb0a1 100644 --- a/.bleep +++ b/.bleep @@ -1 +1 @@ -c3ec53f03ed27ce7ce90ec76e9ae67bab2097fd3 \ No newline at end of file +deb3c5409e938ec9c7d0da9b7a2d331eabbb2cd5 \ No newline at end of file diff --git a/pingora-cache/src/memory.rs b/pingora-cache/src/memory.rs index 6d0a519..6a66577 100644 --- a/pingora-cache/src/memory.rs +++ b/pingora-cache/src/memory.rs @@ -211,7 +211,7 @@ impl HandleHit for MemHitHandler { pub struct MemMissHandler { body: Arc>>, bytes_written: Arc>, - // these are used only in finish() to to data from temp to cache + // these are used only in finish() to data from temp to cache key: String, cache: Arc>>, temp: Arc>>, diff --git a/pingora-load-balancing/src/health_check.rs b/pingora-load-balancing/src/health_check.rs index d40221d..11d2246 100644 --- a/pingora-load-balancing/src/health_check.rs +++ b/pingora-load-balancing/src/health_check.rs @@ -34,7 +34,7 @@ pub trait HealthCheck { /// This function defines how many *consecutive* checks should flip the health of a backend. /// /// For example: with `success``: `true`: this function should return the - /// number of check need to to flip from unhealthy to healthy. + /// number of check need to flip from unhealthy to healthy. fn health_threshold(&self, success: bool) -> usize; } diff --git a/pingora-proxy/src/proxy_cache.rs b/pingora-proxy/src/proxy_cache.rs index 4546b58..f40e083 100644 --- a/pingora-proxy/src/proxy_cache.rs +++ b/pingora-proxy/src/proxy_cache.rs @@ -85,7 +85,7 @@ impl HttpProxy { if let Some((mut meta, handler)) = res { // vary logic // because this branch can be called multiple times in a loop, and we only - // need to to update the vary once, check if variance is already set to + // need to update the vary once, check if variance is already set to // prevent unnecessary vary lookups let cache_key = session.cache.cache_key(); if let Some(variance) = cache_key.variance_bin() { diff --git a/pingora-proxy/src/proxy_trait.rs b/pingora-proxy/src/proxy_trait.rs index 042dbd4..8293a24 100644 --- a/pingora-proxy/src/proxy_trait.rs +++ b/pingora-proxy/src/proxy_trait.rs @@ -18,7 +18,7 @@ use pingora_cache::{key::HashBinary, CacheKey, CacheMeta, RespCacheable, RespCac /// The interface to control the HTTP proxy /// /// The methods in [ProxyHttp] are filters/callbacks which will be performed on all requests at their -/// paticular stage (if applicable). +/// particular stage (if applicable). /// /// If any of the filters returns [Result::Err], the request will fail and the error will be logged. #[cfg_attr(not(doc_async_trait), async_trait)] @@ -264,7 +264,7 @@ pub trait ProxyHttp { /// /// If the error can be retried, [Self::upstream_peer()] will be called again so that the user /// can decide whether to send the request to the same upstream or another upstream that is possibly - /// avaliable. + /// available. fn fail_to_connect( &self, _session: &mut Session,