Skip to content

Commit

Permalink
fix(cache): cache set failure (tailcallhq#1026)
Browse files Browse the repository at this point in the history
Co-authored-by: Tushar Mathur <[email protected]>
  • Loading branch information
shashitnak and tusharmath authored Jan 30, 2024
1 parent 3e6e896 commit 86a76e3
Show file tree
Hide file tree
Showing 13 changed files with 4,443 additions and 118 deletions.
46 changes: 25 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions benches/impl_path_string_for_evaluation_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use hyper::HeaderMap;
use indexmap::IndexMap;
use once_cell::sync::Lazy;
use tailcall::blueprint::Server;
use tailcall::cli::cache::NativeChronoCache;
use tailcall::cache::InMemoryCache;
use tailcall::cli::{init_env, init_http, init_http2_only};
use tailcall::http::RequestContext;
use tailcall::lambda::{EvaluationContext, ResolverContextLike};
Expand Down Expand Up @@ -162,7 +162,7 @@ fn request_context() -> RequestContext {
upstream,
http_data_loaders: Arc::new(vec![]),
gql_data_loaders: Arc::new(vec![]),
cache: Arc::new(NativeChronoCache::new()),
cache: Arc::new(InMemoryCache::new()),
grpc_data_loaders: Arc::new(vec![]),
min_max_age: Arc::new(Mutex::new(None)),
cache_public: Arc::new(Mutex::new(None)),
Expand Down
Loading

0 comments on commit 86a76e3

Please sign in to comment.