mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-27 05:29:43 +01:00
fix ifdef indentation (#51)
This commit is contained in:
parent
ab4dea344d
commit
86bad965ce
2 changed files with 1076 additions and 2 deletions
1074
benchmarks.html
Normal file
1074
benchmarks.html
Normal file
File diff suppressed because one or more lines are too long
|
@ -84,11 +84,11 @@ forkServer Server{..} f = do
|
||||||
False -> do
|
False -> do
|
||||||
tid <- forkFinally f cleanup
|
tid <- forkFinally f cleanup
|
||||||
atomically $ modifyTVar' outstandingForks (S.insert tid)
|
atomically $ modifyTVar' outstandingForks (S.insert tid)
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
currSet <- readTVarIO outstandingForks
|
currSet <- readTVarIO outstandingForks
|
||||||
grpcDebug $ "forkServer: number of outstandingForks is "
|
grpcDebug $ "forkServer: number of outstandingForks is "
|
||||||
++ show (S.size currSet)
|
++ show (S.size currSet)
|
||||||
#endif
|
#endif
|
||||||
return True
|
return True
|
||||||
where cleanup _ = do
|
where cleanup _ = do
|
||||||
tid <- myThreadId
|
tid <- myThreadId
|
||||||
|
|
Loading…
Reference in a new issue