Skip to content

Commit ef42103

Browse files
authored
Test moving of account_data and receipts off master (#1007)
1 parent cf8b6d3 commit ef42103

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/SyTest/Homeserver/Synapse.pm

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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
12741280
EOCONFIG
12751281
}

0 commit comments

Comments
 (0)