exclude not active stream_writer types

(only a single worker is allowed?)
This commit is contained in:
creme 2022-03-08 20:32:07 +01:00
parent eddb4a0c55
commit a0fe6767be
No known key found for this signature in database
GPG Key ID: C147C3B7FBDF08D0
2 changed files with 35 additions and 35 deletions

View File

@ -2783,21 +2783,21 @@ stream_writers:
# - generic_worker2 # - generic_worker2
# - generic_worker3 # - generic_worker3
# - generic_worker4 # - generic_worker4
to_device: # to_device:
- generic_worker1 # - generic_worker1
- generic_worker2 # - generic_worker2
- generic_worker3 # - generic_worker3
- generic_worker4 # - generic_worker4
account_data: # account_data:
- generic_worker1 # - generic_worker1
- generic_worker2 # - generic_worker2
- generic_worker3 # - generic_worker3
- generic_worker4 # - generic_worker4
receipts: # receipts:
- generic_worker1 # - generic_worker1
- generic_worker2 # - generic_worker2
- generic_worker3 # - generic_worker3
- generic_worker4 # - generic_worker4
# presence: # presence:
# - generic_worker1 # - generic_worker1
# - generic_worker2 # - generic_worker2

View File

@ -321,32 +321,32 @@ location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/profile/ {
} }
## Device requests ## Device requests
location ~ ^/_matrix/client/(r0|v3|unstable)/sendToDevice/ { #location ~ ^/_matrix/client/(r0|v3|unstable)/sendToDevice/ {
include include.d/synapse-proxy.conf; # include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc; # proxy_pass http://generic_worker_lc;
} #}
## Account data requests ## Account data requests
location ~ ^/_matrix/client/(r0|v3|unstable)/.*/tags { #location ~ ^/_matrix/client/(r0|v3|unstable)/.*/tags {
include include.d/synapse-proxy.conf; # include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc; # proxy_pass http://generic_worker_lc;
} #}
location ~ ^/_matrix/client/(r0|v3|unstable)/.*/account_data { #location ~ ^/_matrix/client/(r0|v3|unstable)/.*/account_data {
include include.d/synapse-proxy.conf; # include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc; # proxy_pass http://generic_worker_lc;
} #}
## Receipts requests ## Receipts requests
location ~ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt { #location ~ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt {
include include.d/synapse-proxy.conf; # include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc; # proxy_pass http://generic_worker_lc;
} #}
location ~ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers { #location ~ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers {
include include.d/synapse-proxy.conf; # include include.d/synapse-proxy.conf;
proxy_pass http://generic_worker_lc; # proxy_pass http://generic_worker_lc;
} #}
## Presence requests ## Presence requests
#location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/ { #location ~ ^/_matrix/client/(api/v1|r0|v3|unstable)/presence/ {