update to 1.88.0rc1 to fix bugs and update workers

This commit is contained in:
c0mmando 2023-07-16 01:32:23 +00:00
parent 6786125733
commit 9c1fbb235a
11 changed files with 28 additions and 40 deletions

View File

@ -5,9 +5,6 @@
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html # https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
# Configuration file for Synapse. # Configuration file for Synapse.
modules: modules:
- module: mjolnir.Module - module: mjolnir.Module
config: config:
@ -148,8 +145,8 @@ federation_rr_transactions_per_room_per_second: 50
media_store_path: "/data/media_store" media_store_path: "/data/media_store"
max_upload_size: 50M max_upload_size: 10M
max_image_pixels: 50M max_image_pixels: 10M
url_preview_enabled: true url_preview_enabled: true
url_preview_ip_range_blacklist: url_preview_ip_range_blacklist:
@ -216,3 +213,25 @@ redis:
enabled: true enabled: true
host: redis host: redis
port: 6379 port: 6379
instance_map:
main:
host: synapse
port: 9093
tls: false
worker1:
host: synapse
port: 8080
tls: false
worker2:
host: synapse
port: 8081
tls: false
worker3:
host: synapse
port: 8082
tls: false
worker4:
host: synapse
port: 8083
tls: false

View File

@ -1,4 +1,4 @@
ARG SYNAPSE_VERSION=1.87 ARG SYNAPSE_VERSION=1.88.0rc1
ARG HARDENED_MALLOC_VERSION=11 ARG HARDENED_MALLOC_VERSION=11
ARG UID=991 ARG UID=991
ARG GID=991 ARG GID=991

View File

@ -1,4 +1,4 @@
ARG SYNAPSE_VERSION=1.87 ARG SYNAPSE_VERSION=1.88.0rc1
ARG HARDENED_MALLOC_VERSION=11 ARG HARDENED_MALLOC_VERSION=11
ARG UID=991 ARG UID=991
ARG GID=991 ARG GID=991

View File

@ -1,7 +1,3 @@
worker_app: synapse.app.generic_worker worker_app: synapse.app.generic_worker
worker_name: federation1 worker_name: federation1
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: false
worker_log_config: /data/log/federation1.yaml worker_log_config: /data/log/federation1.yaml

View File

@ -1,7 +1,3 @@
worker_app: synapse.app.generic_worker worker_app: synapse.app.generic_worker
worker_name: federation2 worker_name: federation2
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: false
worker_log_config: /data/log/federation2.yaml worker_log_config: /data/log/federation2.yaml

View File

@ -1,7 +1,3 @@
worker_app: synapse.app.generic_worker worker_app: synapse.app.generic_worker
worker_name: federation3 worker_name: federation3
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: false
worker_log_config: /data/log/federation3.yaml worker_log_config: /data/log/federation3.yaml

View File

@ -1,7 +1,3 @@
worker_app: synapse.app.generic_worker worker_app: synapse.app.generic_worker
worker_name: federation4 worker_name: federation4
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: false
worker_log_config: /data/log/federation4.yaml worker_log_config: /data/log/federation4.yaml

View File

@ -1,9 +1,5 @@
worker_app: synapse.app.generic_worker worker_app: synapse.app.generic_worker
worker_name: worker1 worker_name: worker1
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_replication_http_tls: false
worker_main_http_uri: http://synapse:8008/ worker_main_http_uri: http://synapse:8008/
worker_log_config: /data/log/worker1.yaml worker_log_config: /data/log/worker1.yaml
@ -13,6 +9,7 @@ worker_listeners:
x_forwarded: true x_forwarded: true
resources: resources:
- names: [client, federation] - names: [client, federation]
- type: metrics - type: metrics
port: 9000 port: 9000

View File

@ -1,10 +1,6 @@
worker_app: synapse.app.generic_worker worker_app: synapse.app.generic_worker
worker_name: worker2 worker_name: worker2
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_main_http_uri: http://synapse:8008/ worker_main_http_uri: http://synapse:8008/
worker_replication_http_tls: false
worker_log_config: /data/log/worker2.yaml worker_log_config: /data/log/worker2.yaml
worker_listeners: worker_listeners:

View File

@ -1,10 +1,6 @@
worker_app: synapse.app.generic_worker worker_app: synapse.app.generic_worker
worker_name: worker3 worker_name: worker3
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_main_http_uri: http://synapse:8008/ worker_main_http_uri: http://synapse:8008/
worker_replication_http_tls: false
worker_log_config: /data/log/worker3.yaml worker_log_config: /data/log/worker3.yaml
worker_listeners: worker_listeners:

View File

@ -1,10 +1,6 @@
worker_app: synapse.app.generic_worker worker_app: synapse.app.generic_worker
worker_name: worker4 worker_name: worker4
worker_replication_host: synapse
worker_replication_http_port: 9093
worker_main_http_uri: http://synapse:8008/ worker_main_http_uri: http://synapse:8008/
worker_replication_http_tls: false
worker_log_config: /data/log/worker4.yaml worker_log_config: /data/log/worker4.yaml
worker_listeners: worker_listeners: