diff --git a/src/core/lambda/io.rs b/src/core/lambda/io.rs index e04ae0b2c9..fe24a553d0 100644 --- a/src/core/lambda/io.rs +++ b/src/core/lambda/io.rs @@ -1,5 +1,4 @@ use core::future::Future; -use std::hash::{Hash, Hasher}; use std::pin::Pin; use std::sync::Arc; @@ -164,12 +163,7 @@ impl<'a, Ctx: ResolverContextLike<'a> + Sync + Send> CacheKey req_template.cache_key(ctx), IO::Grpc { req_template, .. } => req_template.cache_key(ctx), IO::GraphQL { req_template, .. } => req_template.cache_key(ctx), - IO::Js { name: method } => { - // TODO - let mut hasher = std::hash::DefaultHasher::new(); - method.hash(&mut hasher); - hasher.finish() - } + IO::Js { .. } => None, } } } diff --git a/src/core/worker.rs b/src/core/worker.rs index 5c1c45d77a..fa314bbd80 100644 --- a/src/core/worker.rs +++ b/src/core/worker.rs @@ -1,4 +1,3 @@ - use crate::core::{Response, WorkerIO}; pub struct DefaultJsRuntime;