File tree 1 file changed +2
-3
lines changed
mantis-network/src/main/java/io/reactivex/mantis/network/push
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -245,11 +245,11 @@ protected Observable<Void> manageConnectionWithCompression(final DefaultChannelW
245
245
groupId = id ;
246
246
}
247
247
248
- final BasicTag slotIdTag = new BasicTag ("slotId" , slotId );
248
+ final BasicTag clientIdTag = new BasicTag (CLIENT_ID_TAG_NAME , Optional . ofNullable ( groupId ). orElse ( "none" ) );
249
249
250
250
SerializedSubject <List <byte []>, List <byte []>> subject
251
251
= new SerializedSubject <>(PublishSubject .<List <byte []>>create ());
252
- Observable <List <byte []>> observable = subject .lift (new DropOperator <>("batch_writes" , slotIdTag ));
252
+ Observable <List <byte []>> observable = subject .lift (new DropOperator <>("batch_writes" , clientIdTag ));
253
253
254
254
if (applySampling ) {
255
255
observable =
@@ -266,7 +266,6 @@ protected Observable<Void> manageConnectionWithCompression(final DefaultChannelW
266
266
);
267
267
}
268
268
269
- final BasicTag clientIdTag = new BasicTag (CLIENT_ID_TAG_NAME , Optional .ofNullable (groupId ).orElse ("none" ));
270
269
Metrics writableMetrics = new Metrics .Builder ()
271
270
.id ("PushServer" , clientIdTag )
272
271
.addCounter ("channelWritable" )
You can’t perform that action at this time.
0 commit comments