Skip to content

Commit

Permalink
ping debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Nov 26, 2024
1 parent 4cc9daf commit dfe441c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modular/ws/msg_handler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@

(defmethod -event-msg-handler :chsk/ws-ping
[{:as _msg :keys [event _id _?data _ring-req ?reply-fn _send-fn]}]
(infof ":chsk/ws-ping: %s" event)
(debugf ":chsk/ws-ping: %s" event)
(when ?reply-fn
(?reply-fn {:unmatched-event-as-echoed-from-server event})))

(defmethod -event-msg-handler :chsk/ws-pong
[{:as _msg :keys [event _id _?data _ring-req ?reply-fn _send-fn]}]
(infof ":chsk/ws-pong: %s" event)
(debugf ":chsk/ws-pong: %s" event)
(when ?reply-fn
(?reply-fn {:unmatched-event-as-echoed-from-server event})))

Expand Down

0 comments on commit dfe441c

Please sign in to comment.