rpuch commented on code in PR #3068:
URL: https://github.com/apache/ignite-3/pull/3068#discussion_r1461724321
##########
modules/network/src/main/java/org/apache/ignite/network/DefaultMessagingService.java:
##########
@@ -110,18 +115,20 @@ public DefaultMessagingService(
TopologyService topologyService,
StaleIdDetector staleIdDetector,
ClassDescriptorRegistry classDescriptorRegistry,
- UserObjectMarshaller marshaller
+ UserObjectMarshaller marshaller,
+ CriticalWorkerRegistry criticalWorkerRegistry
) {
this.factory = factory;
this.topologyService = topologyService;
this.staleIdDetector = staleIdDetector;
this.classDescriptorRegistry = classDescriptorRegistry;
this.marshaller = marshaller;
+ this.criticalWorkerRegistry = criticalWorkerRegistry;
- this.outboundExecutor =
Executors.newSingleThreadExecutor(NamedThreadFactory.create(nodeName,
"MessagingService-outbound-", LOG));
+ this.outboundExecutor = new
CriticalSingleThreadExecutor(NamedThreadFactory.create(nodeName,
"MessagingService-outbound", LOG));
Review Comment:
Because `NamedThreadFactory#threadPrefix()` adds the dash itself
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]