Skip to content

Commit 3e10e2c

Browse files
gautamg795Convex, Inc.
authored and
Convex, Inc.
committed
http action change
GitOrigin-RevId: 6cb6561fbd2600783f52744e936a82becf34ba03
1 parent de8288c commit 3e10e2c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/common/src/knobs.rs

+5
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,11 @@ pub static MAX_BACKEND_RPC_REQUEST_SIZE: LazyLock<usize> =
985985
pub static MAX_BACKEND_RPC_RESPONSE_SIZE: LazyLock<usize> =
986986
LazyLock::new(|| env_config("MAX_BACKEND_RPC_RESPONSE_SIZE", (1 << 23) + 2000)); // 8 MiB + buffer
987987

988+
/// The maximum size of byte chunks used when transmitting HTTP request/response
989+
/// bodies as part of HTTP Actions.
990+
pub static MAX_BACKEND_RPC_HTTP_CHUNK_SIZE: LazyLock<usize> =
991+
LazyLock::new(|| env_config("MAX_BACKEND_RPC_RESPONSE_SIZE", 1 << 23)); // 8 MiB
992+
988993
/// The maximum size for requests to the backend public API. Must be at least 8
989994
/// MiB for function arguments.
990995
pub static MAX_BACKEND_PUBLIC_API_REQUEST_SIZE: LazyLock<usize> =

0 commit comments

Comments
 (0)