mode 2 as default, edit README.md to edit config first

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle 2023-11-06 13:24:15 +07:00
parent ae7859a49d
commit 58e51a027f
2 changed files with 4 additions and 2 deletions

View File

@ -52,6 +52,8 @@ docker build -t bostr:local .
docker run --rm --name bostr -p 8080:8080 -v ./config.js:/usr/src/app/config.js bostr:local
```
**Note:** You will need to edit `config.js` before running the bouncer.
## License
Copyright 2023 Yonle <yonle@lecturify.net>

View File

@ -8,8 +8,8 @@ module.exports = {
// Bouncing mode
// 1 -> Fast. Bouncer connects to <relays> at startup.
// 2 -> Accurate. Every clients has their own sessions.
mode: 1,
// 2 -> Accurate. Every clients has their own sessions (recommended).
mode: 2,
// Clusters.
clusters: 1,