Joachim Bauch
ce1b3fc6e2
Add more metrics on rooms / sessions / backends.
2021-08-10 08:50:41 +02:00
Joachim Bauch
3f19882612
No need to close NATS receiver channel.
...
Will be garbage collected once the room is removed and is not needed to
wakeup the reader (which is terminated in a "select" loop from the close
channel).
2021-06-07 10:29:50 +02:00
Joachim Bauch
21f3f506d1
Send more responses through the session to handle disconnected / resuming clients.
2021-06-04 15:40:43 +02:00
Joachim Bauch
52c1514978
Always use auth userid in ping requests.
...
Fixes issue introduced in 3a2adffab6
where some
ping requests were not evaluated correctly if a userid was given in the room
session data.
2021-05-19 16:24:15 +02:00
Joachim Bauch
c8e4bfe007
Fix various issues found by golangci-lint.
2021-04-26 17:25:52 +02:00
Joachim Bauch
3a2adffab6
Get userid from room session data if present.
2021-04-22 14:18:35 +02:00
Joachim Bauch
9b0c4fab00
Update nats.go to 1.10.0
2021-04-13 16:47:28 +02:00
Joachim Bauch
8ba2e0ad64
Switch dependency tracking to Go modules.
...
With that bump minimum required version to Go 1.13.
2021-04-09 16:15:00 +02:00