nit only resync custom instance password on server (#8298)

This commit is contained in:
Diego Imbert
2026-03-10 12:23:39 +01:00
committed by GitHub
parent 53ac43f5ee
commit 713ba009c4
+3 -1
View File
@@ -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)
};