Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ic-bn-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ic-bn-lib-common = "0.1"
indoc = "2.0.6"
instant-acme = { workspace = true, optional = true }
itertools = "0.14.0"
moka = { version = "0.12.8", features = ["sync", "future"] }
moka = { version = "=0.12.12", features = ["sync", "future"] }
nix = { version = "0.30.0", features = ["signal"] }
ppp = "2.3.0"
prometheus = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion ic-bn-lib/src/http/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ impl<K: KeyExtractor + 'static, B: Bypasser + 'static> Cache<K, B> {

let mut lock_obtained = false;
select! {
// Only one parallel request should execute the response and populate the cache.
// Only one parallel request should execute and populate the cache.
// Other requests will wait for the lock to be released and get results from the cache.
_ = lock.lock() => {
lock_obtained = true;
Expand Down