netudima commented on code in PR #4624:
URL: https://github.com/apache/cassandra/pull/4624#discussion_r2823566086
##########
test/unit/org/apache/cassandra/net/MatcherResponse.java:
##########
@@ -182,7 +186,7 @@ public boolean test(Message message, InetAddressAndPort to)
}
// create response asynchronously to match
request/response communication execution behavior
- new Thread(() ->
+ responseExecutor.execute(() ->
{
Message<?> response = fnResponse.apply(message, to);
Review Comment:
yes, it is all part of the same lazy approach from my side :-).
Multithreaded option did not have finalizer.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]