Applies range headers to /rpc calls using LIMIT/OFFSET.

This commit is contained in:
Diogo Biazus
2016-02-26 14:41:27 -05:00
parent 3b23c4aa5b
commit 893b7a7126
4 changed files with 21 additions and 19 deletions
-2
View File
@@ -30,7 +30,6 @@ import System.IO (BufferMode (..),
hSetBuffering, stderr,
stdin, stdout)
import Web.JWT (secret)
#ifndef mingw32_HOST_OS
import System.Posix.Signals
import Control.Concurrent (myThreadId)
@@ -64,7 +63,6 @@ main = do
Prelude.putStrLn $ "Listening on port " ++
(show $ configPort conf :: String)
pool <- P.acquire (configPool conf, 10, pgSettings)
#ifndef mingw32_HOST_OS