diff --git a/.gitignore b/.gitignore
index fe137f337019df654b73aafd5889028ece0594bf..8eb4eda73d71730e799b23b2a40c53a5d84c85bf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,3 +50,7 @@ __pycache__/
 
 # docs
 book/
+
+# complement
+/complement-master
+/master.tar.gz
diff --git a/changelog.d/11718.misc b/changelog.d/11718.misc
new file mode 100644
index 0000000000000000000000000000000000000000..91dc5b5874f93226d5790e8072670ffca88518c6
--- /dev/null
+++ b/changelog.d/11718.misc
@@ -0,0 +1 @@
+Complement environment variable name change and update `.gitignore`.
diff --git a/scripts-dev/complement.sh b/scripts-dev/complement.sh
index 53295b58fca93c4bcc46ebb2f237125ba48343b1..820427be9e482cea555373a4b24bd1857ebabdbe 100755
--- a/scripts-dev/complement.sh
+++ b/scripts-dev/complement.sh
@@ -47,7 +47,7 @@ if [[ -n "$WORKERS" ]]; then
   COMPLEMENT_DOCKERFILE=SynapseWorkers.Dockerfile
   # And provide some more configuration to complement.
   export COMPLEMENT_CA=true
-  export COMPLEMENT_VERSION_CHECK_ITERATIONS=500
+  export COMPLEMENT_SPAWN_HS_TIMEOUT_SECS=25
 else
   export COMPLEMENT_BASE_IMAGE=complement-synapse
   COMPLEMENT_DOCKERFILE=Synapse.Dockerfile