♻️ Refactor internal websocket connection stage management

This commit is contained in:
Andrey Antukh 2022-10-02 10:18:22 +02:00
parent 7dcd362abd
commit 8fae7f7aa6
4 changed files with 97 additions and 78 deletions

View file

@ -89,7 +89,7 @@
[id]
(when-let [wsp (get @state id)]
{:id id
:created-at (dt/instant id)
:created-at (::created-at @wsp)
:profile-id (::profile-id @wsp)
:session-id (::session-id @wsp)
:user-agent (::ws/user-agent @wsp)