Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5054

Bus-Refresh not releasing old Database Connections

$
0
0

I am using spring cloud config server and webflux with multi-tenancy (AbstractRoutingDatasource) has been extended

When I do a bus-refresh from my config sever the previous database connections are not getting released

For Ex:If I have 2 datasource in the beginning then the no of active connections are 10(5 each)

After adding the 3rd connection in the config server and perform bus Refresh the no of active connections increases to 25(10 old connection, 15 new connections (5 per datasource))

I need to release the old 10 connections after refreshing the scope


Viewing all articles
Browse latest Browse all 5054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>