Skip to content

Commit

Permalink
Remove unused Synapse config: worker_main_http_uri. (#1319)
Browse files Browse the repository at this point in the history
This was removed in matrix-org/synapse#14400 and is
currently a no-op that adds warnings to the logs.
  • Loading branch information
clokep authored Nov 29, 2022
1 parent 8be4928 commit 304d870
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/SyTest/Homeserver/Synapse.pm
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,6 @@ sub _start_synapse
"worker_log_config" => $self->configure_logger("frontend_proxy"),
"worker_replication_host" => "$bind_host",
"worker_replication_http_port" => $self->{ports}{synapse_unsecure},
"worker_main_http_uri" => "http://$bind_host:$self->{ports}{synapse_unsecure}",
"worker_listeners" => [
{
type => "http",
Expand Down Expand Up @@ -975,7 +974,6 @@ sub _start_synapse
"worker_log_config" => $self->configure_logger("background_worker"),
"worker_replication_host" => "$bind_host",
"worker_replication_http_port" => $self->{ports}{synapse_unsecure},
"worker_main_http_uri" => "http://$bind_host:$self->{ports}{synapse_unsecure}",
};

push @worker_configs, $background_worker_config;
Expand All @@ -989,7 +987,6 @@ sub _start_synapse
"worker_log_config" => $self->configure_logger("event_persister1"),
"worker_replication_host" => "$bind_host",
"worker_replication_http_port" => $self->{ports}{synapse_unsecure},
"worker_main_http_uri" => "http://$bind_host:$self->{ports}{synapse_unsecure}",
"worker_listeners" => [
{
type => "http",
Expand Down Expand Up @@ -1022,7 +1019,6 @@ sub _start_synapse
"worker_log_config" => $self->configure_logger("event_persister2"),
"worker_replication_host" => "$bind_host",
"worker_replication_http_port" => $self->{ports}{synapse_unsecure},
"worker_main_http_uri" => "http://$bind_host:$self->{ports}{synapse_unsecure}",
"worker_listeners" => [
{
type => "http",
Expand Down Expand Up @@ -1055,7 +1051,6 @@ sub _start_synapse
"worker_log_config" => $self->configure_logger("stream_writer"),
"worker_replication_host" => "$bind_host",
"worker_replication_http_port" => $self->{ports}{synapse_unsecure},
"worker_main_http_uri" => "http://$bind_host:$self->{ports}{synapse_unsecure}",
"worker_listeners" => [
{
type => "http",
Expand Down

0 comments on commit 304d870

Please sign in to comment.