rivet_adapter_lambda/options.rs
1/// Runtime configuration for the Lambda adapter.
2#[derive(Debug, Clone)]
3pub struct AdapterOptions {
4 /// Maximum accepted request body size in bytes.
5 pub body_limit: usize,
6}
7
8impl Default for AdapterOptions {
9 fn default() -> Self {
10 Self {
11 body_limit: 2 * 1024 * 1024,
12 }
13 }
14}