Commit Graph

63 Commits (master)

Author SHA1 Message Date
Daniel Lovbrotte Olsen 6c9b67974b fix generating multiple upstreams of same type 2024-03-13 07:39:59 +01:00
Daniel Lovbrotte Olsen 19b85a2562
Merge pull request #7 from dali99/refactor-nginx-upstream-generation
refactor nginx upstream generation, add support for unix sockets
2024-03-13 06:23:07 +01:00
Daniel Lovbrotte Olsen d48997cfb4 generate only one upstream per worker 2024-03-13 06:22:24 +01:00
Oystein Kristoffer Tveit b8d7c76a7e
treewide: add support for unix sockets 2024-01-27 07:52:26 +01:00
Oystein Kristoffer Tveit 19d50fae63
nginx-pipeline: add basic test 2024-01-27 07:52:26 +01:00
Oystein Kristoffer Tveit 18d3b34406
nginx: refactor upstream generation 2024-01-27 07:52:25 +01:00
Oystein Kristoffer Tveit 85804fce8d
lib: fix bug where `lib.throw` does not exist 2024-01-27 07:40:40 +01:00
Daniel Lovbrotte Olsen 046194cdad v0.5.0
This is mostly a maintainance release to be compatible with nixos-23.11 but comes with some small improvements as well
2023-12-02 09:58:52 +01:00
Daniel Lovbrotte Olsen 3f92b5f197 use nixpkgs sliding sync package 2023-12-02 09:49:03 +01:00
Daniel Lovbrotte Olsen a24a5e5da4 update to 23.11 2023-12-02 09:44:45 +01:00
Daniel Lovbrotte Olsen e098146571
Update README.MD 2023-10-22 03:02:59 +02:00
Daniel Lovbrotte Olsen 1e370b9622 matrix-sliding-sync: 0.99.10 -> 0.99.11 2023-10-16 03:49:32 +02:00
Daniel Lovbrotte Olsen 161d1ed360 document some breaking changes 2023-09-24 04:39:20 +02: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
Daniel Lovbrotte Olsen bedede1e6d Import sliding sync from nixpkgs unstable
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Emily <55066419+emilylange@users.noreply.github.com>
2023-09-24 03:32:54 +02:00
Daniel Lovbrotte Olsen 66ff528912
Update README.MD 2023-09-11 00:04:19 +02:00
Daniel Lovbrotte Olsen 8199f88a5a
Update README.MD 2023-09-11 00:03:44 +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 59e39d551d Add a license
Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-02-17 01:16:02 +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
Daniel Lovbrotte Olsen fbee6a0c0d
Merge pull request #2 from h7x4/master 2023-01-19 21:48:06 +01:00
Oystein Kristoffer Tveit 2fd07f83b5
Cleaned up matrix synapse module 2023-01-19 20:53:14 +01:00
Daniel Lovbrotte Olsen b6f0a026a7
Merge pull request #1 from dali99/flake-experiments 2022-12-22 00:04:31 +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 f890dff8b0
Create README.MD 2022-10-21 19:46:39 +02:00
Daniel Lovbrotte Olsen 95c728601f typo 2022-10-21 19:40:29 +02:00