mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 07:48:37 +01:00
readme: document server.ping in config section
This commit is contained in:
parent
2c1e4b7bea
commit
a6cdd64444
11
README.md
11
README.md
@ -79,11 +79,16 @@ gamja default settings can be set using a `config.json` file at the root:
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
|
// IRC server settings.
|
||||||
"server": {
|
"server": {
|
||||||
// WebSocket URL to connect to (string)
|
// WebSocket URL to connect to (string).
|
||||||
"url": "wss://irc.example.org",
|
"url": "wss://irc.example.org",
|
||||||
// Channel(s) to auto-join (string or array of strings)
|
// Channel(s) to auto-join (string or array of strings).
|
||||||
"autojoin": "#gamja"
|
"autojoin": "#gamja",
|
||||||
|
// Interval in seconds to send PING commands (number). Set to 0 to
|
||||||
|
// disable. Enabling PINGs can have an impact on client power usage and
|
||||||
|
// should only be enabled if necessary.
|
||||||
|
"ping": 60
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user