We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00f463b commit ed174c9Copy full SHA for ed174c9
README.md
@@ -239,7 +239,7 @@ import Database.PostgreSQL.Simple.Errors (isSerializationError)
239
main :: IO ()
240
main = withPostgresqlPool "..." 5 $ \pool -> do
241
let env = mkSqlQueryEnv pool $ \env -> env
242
- { retryIf = isSerializationError . fromException
+ { retryIf = maybe False isSerializationError . fromException
243
, retryLimit = 100 -- defaults to 10
244
}
245
0 commit comments