Skip to content

Commit

Permalink
Merge pull request #1275 from atsign-foundation/gkc-urgent-20230321
Browse files Browse the repository at this point in the history
fix: Fix bug introduced in 3.0.28
  • Loading branch information
gkc authored Mar 21, 2023
2 parents 4727174 + 48d4b57 commit 5472db9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ class OutboundClientManager {
return newClient;
}

close() {
closed = true;
_pool.close();
}

int getActiveConnectionSize() {
return _pool.getActiveConnectionSize();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ class OutboundClientPool {
return _clients.length < size;
}

close() {
closed = true;
clearAllClients();
}

/// Removes the least recently used OutboundClient from the pool. Returns the removed client,
/// or returns null if there are fewer than 2 items currently in the pool.
OutboundClient? removeLeastRecentlyUsed() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,6 @@ class AtSecondaryServerImpl implements AtSecondaryServer {
logger.info("Terminating all inbound connections");
inboundConnectionFactory.removeAllConnections();

logger.info("Terminating all outbound connections");
outboundClientManager.close();

logger.info("Stopping Notification Resource Manager");
notificationResourceManager.stop();

Expand Down

0 comments on commit 5472db9

Please sign in to comment.