Fix #300: prosody tweaking.
This commit is contained in:
parent
583f581192
commit
1b53a6ec2d
@ -9,7 +9,9 @@ TODO Before releasing:
|
|||||||
### Importante Notes
|
### Importante Notes
|
||||||
|
|
||||||
This version requires Peertube 5.2.0 or superior.
|
This version requires Peertube 5.2.0 or superior.
|
||||||
It also requires NodeJS 16 or superior (same as Peertube 5.2.0.)
|
It also requires NodeJS 16 or superior (same as Peertube 5.2.0.).
|
||||||
|
|
||||||
|
If you use the "system Prosody", you should update to Prosody 0.12.4, and Lua 5.4.
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
|
||||||
@ -21,6 +23,7 @@ It also requires NodeJS 16 or superior (same as Peertube 5.2.0.)
|
|||||||
### Minor changes and fixes
|
### Minor changes and fixes
|
||||||
|
|
||||||
* Updating ConverseJS (v11 WIP) with latest fixes.
|
* Updating ConverseJS (v11 WIP) with latest fixes.
|
||||||
|
* Updating Prosody AppImage to Prosody 0.12.4 + Lua 5.4.
|
||||||
* Various translation updates.
|
* Various translation updates.
|
||||||
* Using Typescript 5.5.4, and Eslint 8.57.0 (with new ruleset).
|
* Using Typescript 5.5.4, and Eslint 8.57.0 (with new ruleset).
|
||||||
* Fix race condition in bot/ctl.
|
* Fix race condition in bot/ctl.
|
||||||
|
@ -600,6 +600,17 @@ class ProsodyConfigContent {
|
|||||||
let content = ''
|
let content = ''
|
||||||
content += this.global.write()
|
content += this.global.write()
|
||||||
content += this.log + '\n'
|
content += this.log + '\n'
|
||||||
|
|
||||||
|
// Add some performance tweaks for Prosody 0.12.4+lua5.4.
|
||||||
|
// See https://github.com/JohnXLivingston/livechat-perf-test/tree/main/tests/33-prosody-gc
|
||||||
|
content += `
|
||||||
|
gc = {
|
||||||
|
mode = "generational";
|
||||||
|
minor_threshold = 5;
|
||||||
|
major_threshold = 50;
|
||||||
|
};
|
||||||
|
`
|
||||||
|
|
||||||
content += '\n\n'
|
content += '\n\n'
|
||||||
if (this.authenticated) {
|
if (this.authenticated) {
|
||||||
content += this.authenticated.write()
|
content += this.authenticated.write()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user