Skip to content

Commit 4d87075

Browse files
committed
Fix: Remove unsupported tonic Server config options
1 parent ac80787 commit 4d87075

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

libsql-server/src/rpc/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ pub async fn run_rpc_server<A: Accept>(
4040
// Build the tonic server with services
4141
let idle_layer = option_layer(idle_shutdown_layer);
4242
let mut server = tonic::transport::Server::builder()
43-
.max_decoding_message_size(64 * 1024 * 1024) // 64MB max request
44-
.max_encoding_message_size(64 * 1024 * 1024) // 64MB max response
45-
.timeout(std::time::Duration::from_secs(60)) // Request timeout
4643
.layer(&idle_layer)
4744
.layer(
4845
tower_http::trace::TraceLayer::new_for_grpc()

0 commit comments

Comments
 (0)