You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-27 06:23:53 +01:00
bugfix for >=10 clients connected
This commit is contained in:
2
index.js
2
index.js
@@ -83,7 +83,7 @@ client.connect(xdrdServerPort, xdrdServerHost, () => {
|
|||||||
if (line.startsWith('a')) {
|
if (line.startsWith('a')) {
|
||||||
authFlags.authMsg = true;
|
authFlags.authMsg = true;
|
||||||
consoleCmd.logWarn('Authentication with xdrd failed. Is your password set correctly?');
|
consoleCmd.logWarn('Authentication with xdrd failed. Is your password set correctly?');
|
||||||
} else if (line.startsWith('o1')) {
|
} else if (line.startsWith('o1,')) {
|
||||||
authFlags.firstClient = true;
|
authFlags.firstClient = true;
|
||||||
} else if (line.startsWith('T') && line.length <= 7) {
|
} else if (line.startsWith('T') && line.length <= 7) {
|
||||||
const freq = line.slice(1) / 1000;
|
const freq = line.slice(1) / 1000;
|
||||||
|
|||||||
Reference in New Issue
Block a user