Skip to content

Commit e128e37

Browse files
sjuddConvex, Inc.
authored and
Convex, Inc.
committed
Use searchlight-default for default cluster knob and nomad job name for version query (#27010)
GitOrigin-RevId: b7d2508a5e15cbd43284eae8e82b9e5329ca6383
1 parent f1e064e commit e128e37

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

crates/common/src/knobs.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -873,10 +873,13 @@ pub static FUNRUN_CLUSTER_NAME: LazyLock<String> =
873873

874874
/// Name of the service to discover for when connecting to Searchlight. (e.g.
875875
/// searchlight-default, searchlight-staging, etc.)
876-
// TODO(CX-6645): Change the default value to searchlight-default after that
877876
// cluster is created.
878-
pub static SEARCHLIGHT_CLUSTER_NAME: LazyLock<String> =
879-
LazyLock::new(|| env_config("SEARCHLIGHT_CLUSTER_NAME", String::from("searchlight")));
877+
pub static SEARCHLIGHT_CLUSTER_NAME: LazyLock<String> = LazyLock::new(|| {
878+
env_config(
879+
"SEARCHLIGHT_CLUSTER_NAME",
880+
String::from("searchlight-default"),
881+
)
882+
});
880883

881884
/// The maximum number of CPU cores that can be used simultaneously by the
882885
/// isolates. Zero means no limit.

0 commit comments

Comments
 (0)