Skip to content

Commit a61fc43

Browse files
authored
Merge pull request #771 from IntersectMBO/jdral/disable-accidental-debugtracer
`ScheduledMerges`: disable debug tracer
2 parents d87f9fa + 93c5156 commit a61fc43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-prototypes/Test/ScheduledMergesQLS.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Test.ScheduledMergesQLS (tests) where
77

88
import Control.Monad.Reader (ReaderT (..))
99
import Control.Monad.ST
10-
import Control.Tracer (Contravariant (contramap), Tracer, debugTracer)
10+
import Control.Tracer (Tracer, nullTracer)
1111
import Data.Constraint (Dict (..))
1212
import Data.Map.Strict (Map)
1313
import qualified Data.Map.Strict as Map
@@ -411,7 +411,7 @@ runActionIO action lookUp = ReaderT $ \tidVar -> do
411411
lookUpVar = realLookupVar (Proxy :: Proxy IO) lookUp
412412

413413
tr :: Tracer (ST RealWorld) Event
414-
tr = show `contramap` debugTracer
414+
tr = nullTracer
415415

416416
incrTidVar :: PrimVar RealWorld TableId -> IO TableId
417417
incrTidVar tidVar = do

0 commit comments

Comments
 (0)