Commit graph

8 commits

Author SHA1 Message Date
Alexander
938914be99 fix(assist): fixed broken assist call/remote control functionality 2024-02-13 12:17:24 +01:00
Alexander
a26b603945
Boost performance for one node assist mode (#1869)
* feat(assist): removed cache for solo-node assist mode

* feat(assist): try to fetch from global io object

* feat(assist): small changes

* feat(assist): added cache per request instead of cache per room

* feat(assist): fixed await call in global scope

* feat(assist): try to fix circular structure issue

* feat(assist): use preprocessor for sockets list

* feat(assist): check the theory about fetchSockets data set

* feat(assist): try to keep everything inside handshake.query object
2024-02-06 14:10:48 +01:00
Alexander
716dc6a2ff
Assist optimisation (#1802)
* feat(assist): removed legacy endpoints

* feat(assist): added in-memory cache

* feat(assist): fixed 'string, not object' issue

* feat(assist): reafactored socketsLiveBySession method

* feat(assist): rewrote autocomplete

* feat(assist): fixed issue with empty session

* feat(assist): removed copy/paste code

* feat(assist): added ee solo mode
2024-01-02 14:22:11 +01:00
Alexander
4dfcafc572
Assist metrics (#1627)
* feat(assist): added default metrics

* feat(assist): added assist_ label to easy metrics sort

* feat(assist): finished metrics template implementation (now available on /metrics)

* feat(assist): removed unnecessary _ symbol from app name

* feat(assist): integrated metrics to rest api and websockets handlers

* feat(assist): fixed wrong naming issue

* feat(assist): added connection type to some metrics

* feat(assist): added url route parser for metrics stats
2023-11-09 15:06:11 +01:00
Alexander
e8dea47e17
Assist performance improvements (#1604)
* feat(assist): removed unnecessary code in onConnect handler

* feat(assist): fixed onAny handler's filter to support a new update event

* feat(backend): moved out data structure updater from update handlers to the method

* feat(assist): fixed issue in onConnect handler

* feat(assist): try to disable prev changes

* feat(assist): use fetchSockets only once for onConnect handler

* feat(assist): fixed issue with agents updates after latest hotfix

* feat(assist): removed unnecessary fetchSessions call in onConnect handler

* feat(assist): avoid the second extractPeerID call
2023-11-03 10:36:53 +01:00
Alexander
6c8a589960 feat(backend): removed unnecessary commented code 2023-11-02 11:54:44 +01:00
Kraiem Taha Yassine
52d1d1baeb
Api v1.15.0 (#1602)
* refactor(assist): optimized assist
* refactor(assist): defined a server-update event
2023-11-01 22:31:33 +01:00
Alexander
69d0ab5a4e
Small assist refactoring (#1534)
* feat(assist): splitted socket methods in ee/websockets

* feat(assist): splitted socket methods in ee/websockets-cluster

* feat(assist): moved socket handlers to separate file

* feat(assist): changed the way how to get ws server

* feat(assist): use method to get io server instead of global object

* feat(assist): removed duplicated code from ee assists

* feat(assist): removed copy-paste http handlers

* feat(assist): added getServer call for some http handlers

* feat(assist): added creds=true to cors settings

* feat(backend): added debug log flag to assist stats
2023-10-26 14:32:45 +02:00