Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve documentation for connectMaxIdleTime.

  • Loading branch information...
commit 21cb7f71a198815917936fdac8d835790b9b1b88 1 parent 18565dc
@informatikr authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Database/Redis/Core.hs
View
4 src/Database/Redis/Core.hs
@@ -174,7 +174,9 @@ data ConnectInfo = ConnInfo
-- value is 1.
, connectMaxIdleTime :: NominalDiffTime
-- ^ Amount of time for which an unused connection is kept open. The
- -- smallest acceptable value is 0.5 seconds.
+ -- smallest acceptable value is 0.5 seconds. If the @timeout@ value in
+ -- your redis.conf file is non-zero, it should be larger than
+ -- 'connectMaxIdleTime'.
}
-- |Default information for connecting:
Please sign in to comment.
Something went wrong with that request. Please try again.