Commit Graph

44 Commits

Author SHA1 Message Date
Oystein Kristoffer Tveit 18d3b34406
nginx: refactor upstream generation 2024-01-27 07:52:25 +01:00
Daniel Lovbrotte Olsen a24a5e5da4 update to 23.11 2023-12-02 09:44:45 +01:00
Daniel Lovbrotte Olsen 50ae1b6e57 Implement easy sliding sync setup
Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-09-24 04:39:20 +02:00
lon bf997073d9 fix: don't force enableACME to allow useACMEHost 2023-07-27 22:10:46 +02:00
Daniel Lovbrotte Olsen c158a35ea2 emergency handling of deprecations 2023-07-13 04:16:00 +02:00
Daniel Lovbrotte Olsen 362496f4aa move matrix-lib to let block
Else it has to be called with { } which modules cant do
2023-02-17 23:59:59 +01:00
Daniel Lovbrotte Olsen cf89fa8eb9 load matrix-lib directly inside module
To enable use with non-flakes
2023-02-17 23:44:47 +01:00
Daniel Lovbrotte Olsen 07e95170e8 introduce matrix-lib 2023-01-20 08:11:33 +01:00
Daniel Lovbrotte Olsen 5ef8873997 simplify mainReplicationListener stuff 2023-01-20 08:11:33 +01:00
Oystein Kristoffer Tveit 2fd07f83b5
Cleaned up matrix synapse module 2023-01-19 20:53:14 +01:00
Daniel Lovbrotte Olsen f42306e0a2 nginx: make upstream generator check empty attrset rather than empty list 2022-12-19 21:04:15 +01:00
Daniel Lovbrotte Olsen 43dbc17526 user-dir updater worker 2022-12-14 10:13:24 +01:00
Daniel Lovbrotte Olsen bb105192c2 add metrics listenr to event persister 2022-12-14 09:15:57 +01:00
Daniel Lovbrotte Olsen d900b8f288 workers listeneres go in worker_listeners 2022-12-14 09:12:35 +01:00
Daniel Lovbrotte Olsen 476d66f8b5 mkif instaed of optional to make it not be in the config at all 2022-12-14 08:57:04 +01:00
Daniel Lovbrotte Olsen 103f4bd378 don't specify empty event streamer map 2022-12-14 08:44:25 +01:00
Daniel Lovbrotte Olsen 976c8710ba just route through the synapse backends 2022-12-14 08:38:01 +01:00
Daniel Lovbrotte Olsen c7f34ff60b eventPersister workers 2022-12-14 08:32:41 +01:00
Daniel Lovbrotte Olsen a2b4d2e341 fix initalSync nginx locations 2022-12-14 07:44:23 +01:00
Daniel Lovbrotte Olsen e6dfcbe3ac increase proxy timeouts
initial sync can take a while
maybe normal sync polling will be more reliable with a longer timeout as well?
2022-12-13 07:34:10 +01:00
Daniel Lovbrotte Olsen 07417577d7 remove uri debug 2022-12-10 08:30:38 +01:00
Daniel Lovbrotte Olsen 8ab05856ca mark regexes as regexes 2022-12-10 08:30:38 +01:00
Daniel Lovbrotte Olsen facc54ab80 use uri instead of request_uri 2022-12-10 08:30:30 +01:00
Daniel Lovbrotte Olsen f2ed2ea7bc more debug 2022-12-10 08:30:29 +01:00
Daniel Lovbrotte Olsen 7e5023a741 plug inital sync workers in 2022-12-10 08:30:29 +01:00
Daniel Lovbrotte Olsen 632a6f26ad debugging headers 2022-12-10 08:30:29 +01:00
Daniel Lovbrotte Olsen d44e015ae8 hash incoming federation by source ip 2022-12-10 05:43:25 +01:00
Daniel Lovbrotte Olsen 9568a59b1b fix typo 2022-12-09 10:34:58 +01:00
Daniel Lovbrotte Olsen 3bbfebb5c1 fix hashing for upstream normal_sync 2022-12-09 10:25:25 +01:00
Daniel Lovbrotte Olsen 240e550d4c Implement sync workers 2022-12-09 10:10:07 +01:00
Daniel Lovbrotte Olsen 952bab1d6e federation_sender worker type is deprecated
Enables replication listener if you have any workers for simplicity
send_federation is automatically set to false if federation_sender_instances is set so we don't have to do it
2022-12-09 04:50:14 +01:00
Daniel Lovbrotte Olsen 95c728601f typo 2022-10-21 19:40:29 +02:00
Daniel Lovbrotte Olsen 3053f9b2f7 Automatic metrics listener 2022-10-21 19:22:45 +02:00
Daniel Lovbrotte Olsen b6f34dd2c6 federation receivers and basic nginx setup 2022-10-21 03:07:26 +02:00
Daniel Lovbrotte Olsen 35769740bf Small cleanup 2022-10-20 23:56:34 +02:00
Daniel Lovbrotte Olsen 74a4cd25d1 small cleanup 2022-10-10 12:59:11 +02:00
Daniel Lovbrotte Olsen ccbd092679 federationReceivers first pass, needs a lot of cleanup 2022-10-10 10:55:16 +02:00
Daniel Lovbrotte Olsen 59f4e969c4 automatically enable redis 2022-10-07 16:16:44 +02:00
Daniel Lovbrotte Olsen db5bc1d93c Simple configuration of federation senders 2022-10-07 12:18:09 +02:00
Daniel Lovbrotte Olsen 8eb7f39aae Use defaults similar to nixpkgs module, remove acme as it is no longer supported in synapse 2022-02-07 22:29:37 +01:00
Daniel Lovbrotte Olsen 1d0655944a Use synapse worker binary instead of crazy python thing. Update binary names from nixpkgs 2022-02-07 22:15:44 +01:00
Daniel Lovbrotte Olsen 3784c0fa61 fix indentation 2021-05-23 23:13:31 +02:00
Daniel Lovbrotte Olsen f8facc5a43 Add bind adresses, tls, xforwarded options. Use systemd target for managing the services 2020-12-21 22:10:31 +01:00
Daniel Lovbrotte Olsen 4c465eb8ba init 2020-10-18 23:08:50 +02:00