Skip to content

Commit

Permalink
Update pro concurrency limits (#33868)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: b88bf61b7b94334f10bb215866eff15691aa956b
  • Loading branch information
jordanhunt22 authored and Convex, Inc. committed Feb 5, 2025
1 parent 3b33347 commit 1fc7e83
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/common/src/knobs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -949,10 +949,11 @@ pub static FUNRUN_FETCH_CLIENT_CACHE_SIZE: LazyLock<usize> =
/// maxing out its concurrent function call limits.
///
/// max_concurrent_queries +
/// max_concurrent_mutations + max_concurrent_v8_actions < (number of funrun
/// nodes - 1) * FUNRUN_CLIENT_MAX_REQUESTS_PER_UPSTREAM
/// max_concurrent_mutations + max_concurrent_v8_actions +
/// max_concurrent_http_actions < (number of funrun nodes - 1) *
/// FUNRUN_CLIENT_MAX_REQUESTS_PER_UPSTREAM
pub static FUNRUN_CLIENT_MAX_REQUESTS_PER_UPSTREAM: LazyLock<usize> =
LazyLock::new(|| env_config("FUNRUN_CLIENT_MAX_REQUESTS_PER_UPSTREAM", 15));
LazyLock::new(|| env_config("FUNRUN_CLIENT_MAX_REQUESTS_PER_UPSTREAM", 20));

/// The maximum number of retries a Funrun client will perform. The client only
/// retries overloaded errors.
Expand Down

0 comments on commit 1fc7e83

Please sign in to comment.