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_worker3
# - generic_worker4
to_device:
- generic_worker1
- generic_worker2
- generic_worker3
- generic_worker4
account_data:
- generic_worker1
- generic_worker2
- generic_worker3
- generic_worker4
receipts:
- generic_worker1
- generic_worker2
- generic_worker3
- generic_worker4
# to_device:
# - generic_worker1
# - generic_worker2
# - generic_worker3
# - generic_worker4
# account_data:
# - generic_worker1
# - generic_worker2
# - generic_worker3
# - generic_worker4
# receipts:
# - generic_worker1
# - generic_worker2
# - generic_worker3
# - generic_worker4
# presence:
# - generic_worker1
# - generic_worker2

View File

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