@@ -21,7 +21,6 @@ import qualified Criterion.Main.Options as Criterion
21
21
import qualified Data.ByteString.Lazy as LBS
22
22
import Data.Conduit.Combinators (yieldMany )
23
23
import Data.List.NonEmpty (NonEmpty ((:|) ))
24
- import Data.Semigroup ((<>) )
25
24
import qualified Options.Applicative as Opt (execParser )
26
25
27
26
import qualified Network.Broadcast.OutboundQueue as OQ
@@ -124,7 +123,7 @@ withServer transport logic k = do
124
123
-- Morally, the server shouldn't need an outbound queue, but we have to
125
124
-- give one.
126
125
oq <- liftIO $ OQ. new
127
- (wlogTrace (" server" <> " outboundqueue" ))
126
+ (wlogTrace (" server. outboundqueue" ))
128
127
Policy. defaultEnqueuePolicyRelay
129
128
-- Policy.defaultDequeuePolicyRelay
130
129
(const (OQ. Dequeue OQ. NoRateLimiting (OQ. MaxInFlight maxBound )))
@@ -152,7 +151,7 @@ withServer transport logic k = do
152
151
, fdcLastKnownBlockVersion = blockVersion
153
152
, fdcConvEstablishTimeout = 15000000 -- us
154
153
, fdcStreamWindow = 65536
155
- , fdcTrace = wlogTrace (" server" <> " diffusion" )
154
+ , fdcTrace = wlogTrace (" server. diffusion" )
156
155
}
157
156
158
157
-- Like 'withServer' but we must set up the outbound queue so that it will
@@ -167,7 +166,7 @@ withClient transport logic serverAddress@(Node.NodeId _) k = do
167
166
-- Morally, the server shouldn't need an outbound queue, but we have to
168
167
-- give one.
169
168
oq <- OQ. new
170
- (wlogTrace (" client" <> " outboundqueue" ))
169
+ (wlogTrace (" client. outboundqueue" ))
171
170
Policy. defaultEnqueuePolicyRelay
172
171
-- Policy.defaultDequeuePolicyRelay
173
172
(const (OQ. Dequeue OQ. NoRateLimiting (OQ. MaxInFlight maxBound )))
@@ -197,7 +196,7 @@ withClient transport logic serverAddress@(Node.NodeId _) k = do
197
196
, fdcLastKnownBlockVersion = blockVersion
198
197
, fdcConvEstablishTimeout = 15000000 -- us
199
198
, fdcStreamWindow = 65536
200
- , fdcTrace = wlogTrace (" client" <> " diffusion" )
199
+ , fdcTrace = wlogTrace (" client. diffusion" )
201
200
}
202
201
203
202
0 commit comments