Skip to content

Commit 7789ef0

Browse files
committed
Rename crate::proxy_service to crate::proxy
1 parent 9dc207f commit 7789ef0

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use tracing::{debug, error, info};
2929
pub use self::config::Config;
3030
pub use self::error::ApplicationError;
3131
pub use self::fifo_cache::FifoCache;
32-
pub use self::proxy_service::{CachingProxy, range_to_string};
32+
pub use self::proxy::{CachingProxy, range_to_string};
3333
pub use self::s3_cache::{CacheKey, CachedObject, S3Cache};
3434
pub use self::statistics::UniqueRequestedObjectsStatisticsTracker;
3535

@@ -38,7 +38,7 @@ mod config;
3838
mod error;
3939
mod fifo_cache;
4040
mod metrics_writer;
41-
mod proxy_service;
41+
mod proxy;
4242
mod s3_cache;
4343
mod statistics;
4444
mod telemetry;
@@ -133,7 +133,7 @@ where
133133
});
134134

135135
// Build caching proxy
136-
let caching_proxy = proxy_service::CachingProxy::from_aws_proxy(
136+
let caching_proxy = CachingProxy::from_aws_proxy(
137137
proxy,
138138
cache,
139139
config.cache_max_object_size_bytes,
File renamed without changes.

tests/integration_invalidation.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ async fn invalidation_removes_all_ranges() {
166166
// Verify full entry invalidated
167167
assert_cache_missing(&cache, "test-bucket", "ranged.txt").await;
168168

169-
// Note: Range entries use different cache keys, but invalidate_object()
170-
// in proxy_service.rs calls remove_matching which removes all variants
169+
// Note: Range entries use different cache keys, but invalidate_object() calls remove_matching which removes all variants
171170
}
172171

173172
#[tokio::test]

0 commit comments

Comments
 (0)