We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4094c12 commit b4fc4d1Copy full SHA for b4fc4d1
crates/common/src/knobs.rs
@@ -1016,6 +1016,11 @@ pub static FUNRUN_SCHEDULER_MAX_PERCENT_PER_CLIENT: LazyLock<usize> =
1016
pub static FUNRUN_CLUSTER_NAME: LazyLock<String> =
1017
LazyLock::new(|| env_config("FUNRUN_CLUSTER_NAME", String::from("funrun-default")));
1018
1019
+/// The amount of time for clients to stop sending requests to a saturated
1020
+/// upstream for
1021
+pub static UPSTREAM_SATURATION_TTL: LazyLock<Duration> =
1022
+ LazyLock::new(|| Duration::from_secs(env_config("UPSTREAM_SATURATION_TTL_SECS", 600)));
1023
+
1024
/// Name of the service to discover for when connecting to Searchlight. (e.g.
1025
/// searchlight-default, searchlight-staging, etc.)
1026
// cluster is created.
0 commit comments