summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Server.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/GF/Server.hs')
-rw-r--r--src/compiler/GF/Server.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/GF/Server.hs b/src/compiler/GF/Server.hs
index 34a8c6e57..6036bfd38 100644
--- a/src/compiler/GF/Server.hs
+++ b/src/compiler/GF/Server.hs
@@ -56,10 +56,10 @@ import URLEncoding(decodeQuery)
debug s = logPutStrLn s
-- | Combined FastCGI and HTTP server
-server port optroot execute1 state0 =
+server jobs port optroot execute1 state0 =
do --stderrToFile logFile
state <- newMVar M.empty
- cache <- PS.newPGFCache
+ cache <- PS.newPGFCache jobs
datadir <- getDataDir
let root = maybe (datadir</>"www") id optroot
-- debug $ "document root="++root