You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixing high CPU and memory leak in session pump (#382)
* Fixing high CPU and memory leak in session pump caused by timed out accept session requests.
* Fixing a minor race condition when closing sender or receiver on link creation timeout.
TRACE_LOGGER.trace("Starting '{}' core message receiver's internal loop to complete timed out update state requests.", CoreMessageReceiver.this.receivePath);
// Scheduling it as a separate thread that wakes up at regular very short intervals.. Doesn't wait on incoming receive requests from callers or incoming deliveries from reactor
// Scheduling it as a separate thread that wakes up at regular very short intervals.. Doesn't wait on incoming receive requests from callers or incoming deliveries from reactor
String.format(Locale.US, "%s operation on ReceiveLink(%s) to path(%s) timed out at %s.", "Open", CoreMessageReceiver.this.receiveLink.getName(), CoreMessageReceiver.this.receivePath, ZonedDateTime.now()),
Copy file name to clipboardExpand all lines: azure-servicebus/src/main/java/com/microsoft/azure/servicebus/primitives/CoreMessageSender.java
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -675,14 +675,15 @@ public void run()
675
675
{
676
676
if (!CoreMessageSender.this.linkFirstOpen.isDone())
677
677
{
678
-
CoreMessageSender.this.closeInternals(false);
679
-
CoreMessageSender.this.setClosed();
680
-
681
678
ExceptionoperationTimedout = newTimeoutException(
682
679
String.format(Locale.US, "Open operation on SendLink(%s) on Entity(%s) timed out at %s.", CoreMessageSender.this.sendLink.getName(), CoreMessageSender.this.getSendPath(), ZonedDateTime.now().toString()),
0 commit comments