7 Commits
Author SHA1 Message Date
macanhhuy b0b2ba677b chore: drop hardcoded prosodyRESTsecret fallback 2026-08-19 15:18:42 +07:00
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
Stefan-Sanger c763080306 fix: add TLS opt 2022-10-06 14:59:31 +02:00
Stefan-Sanger 29fa94189b fix: use env vars in config 2022-09-04 08:48:22 +02:00
Vijay Godhasara a4beb1860b fix: make it configurable domain and other parts. 2020-01-15 17:03:14 +05:30
Vijay Godhasara 8f126a6e20 Add group chat REST API wrapper 2020-01-10 16:19:15 +05:30
Stefan-Sanger a3d77fec3c scaffold: REST wrapper 2020-01-09 08:32:49 +01:00