|
2 | 2 | DO NOT EDIT THIS FILE MANUALLY. |
3 | 3 | Content for the following is generated by this script in the main repo: |
4 | 4 | https://github.com/thelounge/thelounge/blob/master/scripts/generate-config-doc.js |
5 | | -Last updated at 2022-03-03 00:59:45 (UTC) by Max Leiter |
| 5 | +Last updated at 2023-12-12 16:26:27 (UTC) by Zach Bloomquist |
6 | 6 | --> |
7 | 7 |
|
8 | 8 | ## Server settings |
@@ -146,6 +146,19 @@ kilobytes. |
146 | 146 |
|
147 | 147 | This value is set to `50` kilobytes by default. |
148 | 148 |
|
| 149 | +### `prefetchTimeout` |
| 150 | + |
| 151 | +When `prefetch` is enabled, this value sets the number of milliseconds |
| 152 | +before The Lounge gives up attempting to fetch a link. This can be useful |
| 153 | +if you've increased the `prefetchMaxImageSize`. |
| 154 | + |
| 155 | +Take caution, however, that an inordinately large value may lead to |
| 156 | +performance issues or even a denial of service, since The Lounge will not |
| 157 | +be able to clean up outgoing connections as quickly. Usually the default |
| 158 | +value is appropriate, so only change it if necessary. |
| 159 | + |
| 160 | +This value is set to `5000` milliseconds by default. |
| 161 | + |
149 | 162 | ### `fileUpload` |
150 | 163 |
|
151 | 164 | Allow uploading files to the server hosting The Lounge. |
@@ -206,7 +219,7 @@ The available keys for the `defaults` object are: |
206 | 219 | - `nick`: Nick name. Percent signs (`%`) will be replaced by random |
207 | 220 | numbers from 0 to 9. For example, `Guest%%%` may become `Guest123`. |
208 | 221 | - `username`: User name. |
209 | | -- `realname`: Real name. |
| 222 | +- `realname`: Real name displayed by some clients. Defaults to the nick if set to "" |
210 | 223 | - `leaveMessage`: Network specific leave message (overrides global leaveMessage) |
211 | 224 | - `join`: Comma-separated list of channels to auto-join once connected. |
212 | 225 |
|
@@ -393,7 +406,7 @@ The available keys for the `ldap` object are: |
393 | 406 |
|
394 | 407 | - `rootPassword`: Password of The Lounge LDAP system user. |
395 | 408 |
|
396 | | - - `ldapFilter`: it is set to `"(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com)"` |
| 409 | + - `filter`: it is set to `"(&(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com))"` |
397 | 410 | by default. |
398 | 411 |
|
399 | 412 | - `base`: LDAP search base (search only within this node). It is set |
|
0 commit comments