Skip to content

Commit 304d870

Browse files
authored
Remove unused Synapse config: worker_main_http_uri. (#1319)
This was removed in matrix-org/synapse#14400 and is currently a no-op that adds warnings to the logs.
1 parent 8be4928 commit 304d870

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/SyTest/Homeserver/Synapse.pm

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,6 @@ sub _start_synapse
942942
"worker_log_config" => $self->configure_logger("frontend_proxy"),
943943
"worker_replication_host" => "$bind_host",
944944
"worker_replication_http_port" => $self->{ports}{synapse_unsecure},
945-
"worker_main_http_uri" => "http://$bind_host:$self->{ports}{synapse_unsecure}",
946945
"worker_listeners" => [
947946
{
948947
type => "http",
@@ -975,7 +974,6 @@ sub _start_synapse
975974
"worker_log_config" => $self->configure_logger("background_worker"),
976975
"worker_replication_host" => "$bind_host",
977976
"worker_replication_http_port" => $self->{ports}{synapse_unsecure},
978-
"worker_main_http_uri" => "http://$bind_host:$self->{ports}{synapse_unsecure}",
979977
};
980978

981979
push @worker_configs, $background_worker_config;
@@ -989,7 +987,6 @@ sub _start_synapse
989987
"worker_log_config" => $self->configure_logger("event_persister1"),
990988
"worker_replication_host" => "$bind_host",
991989
"worker_replication_http_port" => $self->{ports}{synapse_unsecure},
992-
"worker_main_http_uri" => "http://$bind_host:$self->{ports}{synapse_unsecure}",
993990
"worker_listeners" => [
994991
{
995992
type => "http",
@@ -1022,7 +1019,6 @@ sub _start_synapse
10221019
"worker_log_config" => $self->configure_logger("event_persister2"),
10231020
"worker_replication_host" => "$bind_host",
10241021
"worker_replication_http_port" => $self->{ports}{synapse_unsecure},
1025-
"worker_main_http_uri" => "http://$bind_host:$self->{ports}{synapse_unsecure}",
10261022
"worker_listeners" => [
10271023
{
10281024
type => "http",
@@ -1055,7 +1051,6 @@ sub _start_synapse
10551051
"worker_log_config" => $self->configure_logger("stream_writer"),
10561052
"worker_replication_host" => "$bind_host",
10571053
"worker_replication_http_port" => $self->{ports}{synapse_unsecure},
1058-
"worker_main_http_uri" => "http://$bind_host:$self->{ports}{synapse_unsecure}",
10591054
"worker_listeners" => [
10601055
{
10611056
type => "http",

0 commit comments

Comments
 (0)