summary refs log tree commit diff
path: root/scripts-dev
diff options
context:
space:
mode:
authorrealtyem <realtyem@gmail.com>2023-02-01 17:42:45 -0600
committerGitHub <noreply@github.com>2023-02-01 23:42:45 +0000
commit58214dbb9b8a85c0dafc65162e9c20ee1885ce4e (patch)
tree2d01f3bc23df0883722b8a690007bf59b37c82e5 /scripts-dev
parentBump hiredis from 2.0.0 to 2.1.1 (#14939) (diff)
downloadsynapse-58214dbb9b8a85c0dafc65162e9c20ee1885ce4e.tar.xz
Allow enabling the asyncio reactor in complement (#14858)
Signed-off-by: Jason Little realtyem@gmail.com
Diffstat (limited to 'scripts-dev')
-rwxr-xr-xscripts-dev/complement.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts-dev/complement.sh b/scripts-dev/complement.sh
index e72d96fd16..66aaa3d848 100755
--- a/scripts-dev/complement.sh
+++ b/scripts-dev/complement.sh
@@ -228,6 +228,11 @@ else
   test_tags="$test_tags,msc2716"
 fi
 
+if [[ -n "$ASYNCIO_REACTOR" ]]; then
+  # Enable the Twisted asyncio reactor
+  export PASS_SYNAPSE_COMPLEMENT_USE_ASYNCIO_REACTOR=true
+fi
+
 
 if [[ -n "$SYNAPSE_TEST_LOG_LEVEL" ]]; then
   # Set the log level to what is desired