remove debug print.
This commit is contained in:
parent
ab3498b35d
commit
d2ae2c6c17
@ -1,5 +1,5 @@
|
||||
name: memcached-binary
|
||||
version: 0.1.1
|
||||
version: 0.1.1.1
|
||||
synopsis: memcached client using binary protocol.
|
||||
description: memcached client using binary protocol.
|
||||
license: MIT
|
||||
|
||||
@ -36,7 +36,7 @@ withConnection i m = withSocketsDo $ bracket (connect i) close m
|
||||
|
||||
connect :: ConnectInfo -> IO Connection
|
||||
connect i = fmap Connection $
|
||||
createPool (putStrLn "open" >> connect' i) (\h -> putStrLn "closed" >> quit h >> hClose h) 1
|
||||
createPool (connect' i) (\h -> quit h >> hClose h) 1
|
||||
(connectionIdleTime i) (numConnection i)
|
||||
|
||||
connect' :: ConnectInfo -> IO Handle
|
||||
|
||||
Loading…
Reference in New Issue
Block a user