From f6cb6d172e3f43203ca256d9b8f746233ea15a4e Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 20 Feb 2015 12:29:44 +0000 Subject: PGF Service: limit the number of parallel calls to the C run-time parse function to 4 by default The limit can be changed with the -j flag --- src/compiler/GF/Server.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/GF/Server.hs') 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 -- cgit v1.2.3