summary refs log tree commit diff
path: root/host/Rory-synapse
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-synapse')
-rwxr-xr-xhost/Rory-synapse/software.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/host/Rory-synapse/software.nix b/host/Rory-synapse/software.nix
index ea24c91..5db557b 100755
--- a/host/Rory-synapse/software.nix
+++ b/host/Rory-synapse/software.nix
@@ -93,11 +93,11 @@
       allow_device_name_lookup_over_federation = true;
 
       federation = {
-        client_timeout = "10s";
-        max_short_retries = 3;
-        max_short_retry_delay = "30s";
+        client_timeout = "60s";
+        max_short_retries = 6;
+        max_short_retry_delay = "10s";
         max_long_retries = 5;
-        max_long_retry_delay = "5m";
+        max_long_retry_delay = "30s";
       };
 
       event_cache_size = "30K"; #defaults to 10K
@@ -114,7 +114,7 @@
 
       # Alicia - figure this out later...
       #registration_shared_secret = builtins.exec ["cat" "/dev/urandom" "|" "tr" "-dc" "a-zA-Z0-9" "|" "fold" "-w" "256" "|" "head" "-n" "1"];
-      #registration_shared_secret_path = "/var/lib/matrix-synapse/registration_shared_secret.txt";
+      registration_shared_secret_path = "/var/lib/matrix-synapse/registration_shared_secret.txt";
       
       listeners = [
         { 
@@ -145,7 +145,7 @@
           host = "127.0.0.1";
           application_name = "matrix-synapse (rory.gay)";
           cp_min = 5;
-          cp_max = 15;
+          cp_max = 50;
           #cp_reconnect_interval = "True";
         };
       };