summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-02-05 14:22:36 +0100
committerRory& <root@rory.gay>2024-02-05 14:22:36 +0100
commitc28f645862a0e00784fc91afdb115c79e1b879f4 (patch)
treeddfa4a232eb3f93e8858d8891f53df82e4c2b768
parentUse pgconfigurator (diff)
downloadRory-Open-Architecture-c28f645862a0e00784fc91afdb115c79e1b879f4.tar.xz
Fix postgres config
-rw-r--r--host/Rory-nginx/services/nginx/matrix-upstreams-workers.nix16
-rwxr-xr-xhost/Rory-nginx/services/postgres.nix2
2 files changed, 9 insertions, 9 deletions
diff --git a/host/Rory-nginx/services/nginx/matrix-upstreams-workers.nix b/host/Rory-nginx/services/nginx/matrix-upstreams-workers.nix
index 3e58950..00ccdee 100644
--- a/host/Rory-nginx/services/nginx/matrix-upstreams-workers.nix
+++ b/host/Rory-nginx/services/nginx/matrix-upstreams-workers.nix
@@ -1,26 +1,26 @@
 {
   generic_workers_upstream.servers = {
-    "192.168.1.5:18111" = { };
+    "127.0.0.1:18111" = { };
   };
   stream_writer_typing_stream_workers_upstream.servers = {
-    "192.168.1.5:20012" = { };
+    "127.0.0.1:20012" = { };
   };
   stream_writer_to_device_stream_workers_upstream.servers = {
-    "192.168.1.5:20013" = { };
+    "127.0.0.1:20013" = { };
   };
   stream_writer_account_data_stream_workers_upstream.servers = {
-    "192.168.1.5:20014" = { };
+    "127.0.0.1:20014" = { };
   };
   stream_writer_receipts_stream_workers_upstream.servers = {
-    "192.168.1.5:20015" = { };
+    "127.0.0.1:20015" = { };
   };
   stream_writer_presence_stream_workers_upstream.servers = {
-    "192.168.1.5:20016" = { };
+    "127.0.0.1:20016" = { };
   };
   media_repository_workers_upstream.servers = {
-    "192.168.1.5:18551" = { };
+    "127.0.0.1:18551" = { };
   };
   user_dir_workers_upstream.servers = {
-    "192.168.1.5:18661" = { };
+    "127.0.0.1:18661" = { };
   };
 }
\ No newline at end of file
diff --git a/host/Rory-nginx/services/postgres.nix b/host/Rory-nginx/services/postgres.nix
index 96d6785..fcfbc65 100755
--- a/host/Rory-nginx/services/postgres.nix
+++ b/host/Rory-nginx/services/postgres.nix
@@ -55,7 +55,7 @@
       wal_buffers = "-1";
       wal_writer_delay = "200ms";
       wal_writer_flush_after = "1MB";
-      checkpoint_segments = "64"; # additional
+      #checkpoint_segments = "64"; # additional
       default_statistics_target = "250"; # additional
 
       bgwriter_delay = "200ms";