From 2e3e6a22aeadb2eef4942ae7b6eca081851bc8ab Mon Sep 17 00:00:00 2001 From: Stephan Behnke Date: Fri, 15 May 2026 14:41:13 -0700 Subject: [PATCH] Refresh Nexus endpoints on read in dev-server --- internal/temporalcli/commands.server.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/temporalcli/commands.server.go b/internal/temporalcli/commands.server.go index ac216423f..90c5b2fe3 100644 --- a/internal/temporalcli/commands.server.go +++ b/internal/temporalcli/commands.server.go @@ -14,10 +14,16 @@ import ( var defaultDynamicConfigValues = map[string]any{ // Make search attributes immediately visible on creation, so users don't // have to wait for eventual consistency to happen when testing against the - // dev-server. Since it's a very rare thing to create search attributes, + // dev-server. Since it's a very rare thing to create search attributes, // we're comfortable that this is very unlikely to mask bugs in user code. "system.forceSearchAttributesCacheRefreshOnRead": true, + // Make Nexus endpoints immediately visible on creation, so users don't + // have to wait for eventual consistency to happen when testing against the + // dev-server. Since it's a very rare thing to create Nexus endpoints, + // we're comfortable that this is very unlikely to mask bugs in user code. + "system.forceNexusEndpointRefreshOnRead": true, + // Since we disable the SA cache, we need to bump max QPS accordingly. // These numbers were chosen to maintain the ratio between the two that's // established in the defaults.