[refactor] move worker configs into template

This commit is contained in:
Nico Schottelius 2024-02-21 17:41:10 +09:00
commit cde72ad340
5 changed files with 18 additions and 44 deletions

View file

@ -1,20 +0,0 @@
worker_app: synapse.app.generic_worker
worker_name: synapse-worker-federation
worker_log_config: /config/log-worker-federation.yaml
worker_listeners:
- type: http
port: 8008
x_forwarded: true
resources:
- names:
- client
- federation
- port: 9000
type: metrics
tls: false
x_forwarded: true
resources:
- names: [metrics]
compress: false

View file

@ -1,20 +0,0 @@
worker_app: synapse.app.generic_worker
worker_name: synapse-worker-generic
worker_log_config: /config/log-worker-generic.yaml
worker_listeners:
- port: 8008
type: http
tls: false
x_forwarded: true
resources:
- names: [client, federation]
compress: false
- port: 9000
type: metrics
tls: false
x_forwarded: true
resources:
- names: [metrics]
compress: false

View file

@ -1,20 +0,0 @@
worker_app: synapse.app.generic_worker
worker_name: synapse-worker-sync
worker_log_config: /config/log-worker-sync.yaml
worker_listeners:
- type: http
port: 8008
x_forwarded: true
resources:
- names:
- client
- federation
- port: 9000
type: metrics
tls: false
x_forwarded: true
resources:
- names: [metrics]
compress: false