From 713ba009c4445acfe8bcc0d4145bcfdb200210d0 Mon Sep 17 00:00:00 2001 From: Diego Imbert <70353967+diegoimbert@users.noreply.github.com> Date: Tue, 10 Mar 2026 12:23:39 +0100 Subject: [PATCH] nit only resync custom instance password on server (#8298) --- backend/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/main.rs b/backend/src/main.rs index 90d8e14e42..90acfd76cb 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -884,7 +884,9 @@ async fn windmill_main() -> anyhow::Result<()> { // NOTE: Variable/resource cache initialization moved to API server in windmill-api // Check if custom_instance_user password is in sync - resync_custom_instance_user_pwd_if_needed(&db).await; + if server_mode { + resync_custom_instance_user_pwd_if_needed(&db).await; + } Connection::Sql(db) };