mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-23 03:29:42 +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
|
||||
tid <- forkFinally f cleanup
|
||||
atomically $ modifyTVar' outstandingForks (S.insert tid)
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUG
|
||||
currSet <- readTVarIO outstandingForks
|
||||
grpcDebug $ "forkServer: number of outstandingForks is "
|
||||
++ show (S.size currSet)
|
||||
#endif
|
||||
#endif
|
||||
return True
|
||||
where cleanup _ = do
|
||||
tid <- myThreadId
|
||||
|
|
Loading…
Reference in a new issue