Stefan-Sanger 1fad2ef1d2 fix: replace shared telnet singleton with connection pool
Addresses PERFORMANCE-FINDINGS #1, #4, #6 (and #2 in creategroup flow):
- Add app/telnet-pool.js: pool of N connections (config.telnet.poolSize,
  default 4) with wait-queue, lazy reconnect, and respawn on dead socket.
- Remove module-level new Telnet() singleton and startup socket dump from
  app/routes/index.js; switch all mutating endpoints to telnetPool.send().
- Set telnet debug:false; use config.telnet.timeout (default 5s) instead
  of hardcoded 30000.
- Add telnet.poolSize to config/prosody-muc-rest.js.
- await doesMucExist in /creategroup so the existence check is no longer dead.

Part-of: <http://gitlab.vnc.biz/uxf/prosody-muc-rest/-/merge_requests/3>
2026-07-10 14:44:43 +02:00
2020-09-09 04:59:41 +02:00
2020-09-09 04:59:41 +02:00
2022-09-04 08:51:55 +02:00
2020-01-09 08:32:17 +01:00
2026-06-03 14:12:36 +02:00
2020-09-09 05:13:23 +02:00
S
Description
Prosody MUC REST API
Readme
146 KiB
Languages
JavaScript 96.9%
Dockerfile 3.1%