Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

reload-clients: Ensure that Smokescreen does not interfere with reloads.

Alex Vandiverbef864251b09
diff --git a/scripts/reload-clients b/scripts/reload-clients
index 034de28381a..919a0e824ac 100755
--- a/scripts/reload-clients
+++ b/scripts/reload-clients
@@ -89,6 +89,7 @@ for port in get_tornado_ports(config_file):
f"http://127.0.0.1:{port}/api/internal/web_reload_clients",
data={"client_count": reload_rate * SECONDS_PER_BATCH, "secret": shared_secret},
timeout=5,
+ proxies={"http": ""}, # Make sure we don't go through Smokescreen
)
resp.raise_for_status()
shard_total += resp.json()["sent_events"]