Hi there!
I have an issue that league is not running. Seems to be scheduled, but the queue is not processed and queue reaches configured limit.
[2022-10-05T18:26:00.847Z] DEBUG gateway-jsbattle-cluster-333444/BROKER: Call action locally. { action: 'leagueScheduler.scheduleBattle', requestID: '14a0b730-624c-4a59-92cb-6ac0921b5850' } [2022-10-05T18:26:00.847Z] DEBUG gateway-jsbattle-cluster-333444/BROKER: Call action locally. { action: 'league.pickRandomOpponents', requestID: '14a0b730-624c-4a59-92cb-6ac0921b5850' } [2022-10-05T18:26:00.847Z] DEBUG gateway-jsbattle-cluster-333444/BROKER: Call action locally. { action: 'league.get', requestID: '14a0b730-624c-4a59-92cb-6ac0921b5850' } [2022-10-05T18:26:00.848Z] DEBUG gateway-jsbattle-cluster-333444/BROKER: Call action locally. { action: 'league.get', requestID: '14a0b730-624c-4a59-92cb-6ac0921b5850' } [2022-10-05T18:26:00.849Z] DEBUG gateway-jsbattle-cluster-333444/BROKER: Call action locally. { action: 'queue.write', requestID: '14a0b730-624c-4a59-92cb-6ac0921b5850' } [2022-10-05T18:26:00.849Z] DEBUG gateway-jsbattle-cluster-333444/LEAGUESCHEDULER: Unable to schedule battle: Requested limit of 5 items exceeded for topic ubdPlayer
What can be a reason? Where should I look at? Probably workers are for some reason not running, but I am not sure how to check it (e.g. what the expected process should be called).
Here is my config.json:
{ "loglevel": "debug", "skipEnv": false, "cluster": { "enabled": true, "name": "jsbattle-cluster", "transporter": { "type": "TCP", "options": { "udpDiscovery": true } } }, "data": { "adapter": "nedb", "path": "./jsbattle-data" }, "web": { "host": "0.0.0.0", "baseUrl": "https://BBB", "corsOrigin": [ "https://BBB" ] }, "auth": { "admins": [ { "provider": "github", "username": "XXX" } ], "providers": [ { "name": "github", "clientID": "XXX", "clientSecret": "YYY" } ] }, "league": { "scheduleInterval": 30000, "timeLimit": 20000, "teamSize": 3, "obfuscate": true, "historyDuration": 259200000, "cutOffFightCount": 100, "cutOffWinRatio": 0.05 }, "ubdPlayer": { "queueLimit": 5, "queueQueryTime": 5000, "speed": 1, "timeout": 60000 }, "battleStore": { "defaultExpireTime": 604800000, "cleanupInterval": 3600000 } }