Skip to content

Commit

Permalink
Bump the default http timeout for most backend endpoints to 5 minutes…
Browse files Browse the repository at this point in the history
… (#23433)

GitOrigin-RevId: 776b236e3b9dd2f96ef19c0bfdbd4f174b4c09a2
  • Loading branch information
sjudd authored and Convex, Inc. committed Mar 13, 2024
1 parent 2687520 commit 537864f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/common/src/knobs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -882,4 +882,4 @@ pub static ALLOW_STORAGE_GET_VIA_DOCUMENT_ID: LazyLock<bool> =
///
/// See https://docs.rs/tower-http/0.5.0/tower_http/timeout/struct.TimeoutLayer.html
pub static HTTP_SERVER_TIMEOUT_DURATION: LazyLock<Duration> =
LazyLock::new(|| Duration::from_secs(env_config("HTTP_SERVER_TIMEOUT_SECONDS", 125)));
LazyLock::new(|| Duration::from_secs(env_config("HTTP_SERVER_TIMEOUT_SECONDS", 300)));

0 comments on commit 537864f

Please sign in to comment.