nomicflux / servant-opaleye-blog

Tutorial on setting up a blog backend with Servant and Opaleye
Other
16 stars 2 forks source link

Too many connections #1

Closed nomicflux closed 8 years ago

nomicflux commented 8 years ago

The Lesson 4 code will attempt to establish a connection on every request, readerTToEither = Nat (\r -> do con <- liftIO $ PGS.connect PGS.defaultConnectInfo.