mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 17:10:43 +03:00
parent
d344bc8b6e
commit
1caf16a450
2 changed files with 22 additions and 0 deletions
1
changelog.d/14824.doc
Normal file
1
changelog.d/14824.doc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Add `worker_manhole` to configuration manual.
|
|
@ -4029,6 +4029,27 @@ worker_listeners:
|
||||||
resources:
|
resources:
|
||||||
- names: [client, federation]
|
- names: [client, federation]
|
||||||
```
|
```
|
||||||
|
---
|
||||||
|
### `worker_manhole`
|
||||||
|
|
||||||
|
A worker may have a listener for [`manhole`](../../manhole.md).
|
||||||
|
It allows server administrators to access a Python shell on the worker.
|
||||||
|
|
||||||
|
Example configuration:
|
||||||
|
```yaml
|
||||||
|
worker_manhole: 9000
|
||||||
|
```
|
||||||
|
|
||||||
|
This is a short form for:
|
||||||
|
```yaml
|
||||||
|
worker_listeners:
|
||||||
|
- port: 9000
|
||||||
|
bind_addresses: ['127.0.0.1']
|
||||||
|
type: manhole
|
||||||
|
```
|
||||||
|
|
||||||
|
It needs also an additional [`manhole_settings`](#manhole_settings) configuration.
|
||||||
|
|
||||||
---
|
---
|
||||||
### `worker_daemonize`
|
### `worker_daemonize`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue