summary refs log tree commit diff
path: root/docs/workers.md
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2022-10-07 15:25:28 +0200
committerGitHub <noreply@github.com>2022-10-07 14:25:28 +0100
commit0adeccafc651f9fe0eae4fe4d67229b9be9ed7b9 (patch)
treec9b9b2175c29dfc7fc1bd36b1685154e7e98046a /docs/workers.md
parentUse Pydantic to validate /devices endpoints (#14054) (diff)
downloadsynapse-0adeccafc651f9fe0eae4fe4d67229b9be9ed7b9.tar.xz
Add sample worker files for `pusher` and `federation_sender` (#14077)
Signed-off-by: Dirk Klimpel <dirk@klimpel.org>
Diffstat (limited to 'docs/workers.md')
-rw-r--r--docs/workers.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/workers.md b/docs/workers.md
index 25f2e13237..27041ea57c 100644
--- a/docs/workers.md
+++ b/docs/workers.md
@@ -488,6 +488,12 @@ pusher_instances:
     - pusher_worker2
 ```
 
+An example for a pusher instance:
+
+```yaml
+{{#include systemd-with-workers/workers/pusher_worker.yaml}}
+```
+
 
 ### `synapse.app.appservice`
 
@@ -518,6 +524,12 @@ federation_sender_instances:
     - federation_sender2
 ```
 
+An example for a federation sender instance:
+
+```yaml
+{{#include systemd-with-workers/workers/federation_sender.yaml}}
+```
+
 ### `synapse.app.media_repository`
 
 Handles the media repository. It can handle all endpoints starting with: