We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ffb420 commit ae89a1eCopy full SHA for ae89a1e
src/Network/WebSockets/Snap.hs
@@ -27,7 +27,7 @@ runWebSocketsSnapWith options ws = do
27
rq <- Snap.getRequest
28
Snap.escapeHttp $ \tickle writeEnd ->
29
let options' = options
30
- { WS.onPong = tickle (+ 30) >> WS.onPong options
+ { WS.onPong = tickle (max 30) >> WS.onPong options
31
}
32
33
in WS.runWebSocketsWith options' (fromSnapRequest rq) ws writeEnd
websockets-snap.cabal
@@ -1,5 +1,5 @@
1
Name: websockets-snap
2
-Version: 0.6.0.0
+Version: 0.6.0.1
3
Synopsis: Snap integration for the websockets library
4
Description: Snap integration for the websockets library
5
License: BSD3
0 commit comments