mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-25 21:29:24 -05:00
parent
d344bc8b6e
commit
1caf16a450
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 New Issue
Block a user