File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,9 @@ sub start
319319 # There's no particular reason to choose client_reader, but I
320320 # couldn't think of a better place and I'm not sure we want to add
321321 # more workers at this point
322- to_device => $self -> {redis_host } ne ' ' ? [ " client_reader" ] : " master" ,
322+ to_device => $self -> {redis_host } ne ' ' ? [ " client_reader" ] : " master" ,
323+ account_data => $self -> {redis_host } ne ' ' ? [ " client_reader" ] : " master" ,
324+ receipts => $self -> {redis_host } ne ' ' ? [ " client_reader" ] : " master" ,
323325 },
324326
325327 # We use a high limit so the limit is never reached, but enabling the
@@ -1270,6 +1272,10 @@ EOCONFIG
12701272 $haproxy_map .= <<'EOCONFIG' ;
12711273
12721274^/_matrix/client/(api/v1|r0|unstable)/sendToDevice/ client_reader
1275+ ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/tag client_reader
1276+ ^/_matrix/client/(api/v1|r0|unstable)/.*/account_data client_reader
1277+ ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/receipt client_reader
1278+ ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/read_markers client_reader
12731279
12741280EOCONFIG
12751281 }
You can’t perform that action at this time.
0 commit comments