1. Bryan O'Sullivan
  2. riak-haskell-client


Bryan O'Sullivan  committed 44ae61a

Add a small comment

  • Participants
  • Parent commits e15e584
  • Branches default

Comments (0)

Files changed (1)

File src/Network/Riak/Connection/Internal.hs

View file
  • Ignore whitespace
   sClose connSock
   writeIORef connBuffer L.empty
+-- | We use a larger receive buffer than we usually need, and
+-- generally ask to receive more data than we know we'll need, in the
+-- hope that we'll be able to buffer some of it and avoid future recv
+-- system calls.
 recvBufferSize :: Integral a => a
 recvBufferSize = 16384
 {-# INLINE recvBufferSize #-}