Commit Graph

36 Commits

Author SHA1 Message Date
Nour Alharithi
fe19c821af attach ts and send ack on subscribe 2024-01-19 12:37:49 -08:00
Nour Alharithi
4177866eac bufferedAmount threshold uptick 2024-01-17 10:29:12 -08:00
Nour Alharithi
975c91b8b8 perMessageDeflate 2024-01-08 12:30:24 -08:00
Nour Alharithi
6ee967933f fixes 2023-12-12 11:27:22 -08:00
Nour Alharithi
f00be8945e prettify 2023-12-12 09:56:30 -08:00
Nour Alharithi
59b88f753d send heartbeat and detect redis cache better 2023-12-12 09:56:14 -08:00
Nour Alharithi
436e63dbd5 proper memory management 2023-12-12 09:11:02 -08:00
Nour Alharithi
43dfc3a865 remove unhandled promise process 2023-12-12 07:36:08 -08:00
Nour Alharithi
f3a1e9e22d per message deflate false 2023-12-12 06:32:30 -08:00
Nour Alharithi
c1a5afe3d7 possible memory leak fixes 2023-12-11 18:52:46 -08:00
Nour Alharithi
54d463f84e additional ws connection logging 2023-12-11 16:15:30 -08:00
Nour Alharithi
27bfef5a1e try catch for l2 and no ping/pong 2023-12-11 06:51:41 -08:00
Nour Alharithi
3fa8f35a0b ws guard against undefined 2023-12-07 10:32:54 -08:00
Nour Alharithi
9940110094 don't send stack errors 2023-11-24 16:05:29 -08:00
Luke Steyn
a24757f374 Added handling for last_update messages 2023-11-22 15:49:51 +01:00
Luke Steyn
80a50c1eb0 Better error handling 2023-11-22 14:37:11 +01:00
Nour Alharithi
6ce59a1394 patch trades and move last update 2023-11-20 13:55:05 -08:00
Nour Alharithi
285d5b32f9 updated exmaple and bug fix 2023-11-17 14:19:00 -08:00
Nour Alharithi
4a3941d374 address PR comments 2023-11-17 09:38:39 -08:00
Nour Alharithi
7a88935070 dont fail on bad messages 2023-11-16 11:08:31 -08:00
Nour Alharithi
16197130d3 new trades publisher 2023-11-16 10:54:50 -08:00
Nour Alharithi
c53f5d6672 remove double decrement counters 2023-11-15 11:05:17 -08:00
Nour Alharithi
984c6fcda7 adding prometheus gauge 2023-11-14 09:54:35 -08:00
Nour Alharithi
384e785371 resub on redis reconnect 2023-11-10 08:55:25 -08:00
Nour Alharithi
cbecd513a4 better error handling 2023-11-07 11:26:14 -08:00
Nour Alharithi
3e112f4caf send the latest message for fast retrieval upon subscribe 2023-11-07 10:22:35 -08:00
Luke Steyn
2bfa1ed91f Added WS_PORT config to wsConnectionManager 2023-10-31 12:58:48 +01:00
Nour Alharithi
f3d64ff988 *prettify + new example 2023-10-29 15:55:44 -07:00
Nour Alharithi
ee5cd4e6a8 * much more robust ws connection manager 2023-10-29 15:52:06 -07:00
Nour Alharithi
3a4aa5be67 using ws instead of socket.io 2023-10-29 14:08:07 -07:00
wphan
659bd65b38 error handling 2023-10-27 22:43:16 -07:00
wphan
a130bac2cf wsConnectionManager listen on /ws 2023-10-27 22:29:09 -07:00
Nour Alharithi
cc8fe46ad2 ws manager uses password 2023-10-27 17:09:19 -07:00
Nour Alharithi
63d85ddc67 separate out publisher 2023-10-27 09:45:43 -07:00
Nour Alharithi
e047def3a6 newclient 2023-10-26 08:25:17 -07:00
Nour Alharithi
7181912607 have redis working 2023-10-25 14:27:16 -07:00