mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
ha
This commit is contained in:
@@ -258,7 +258,7 @@ public abstract class MultiDataSource extends DataSourceAdapter implements Multi
|
||||
public void addDataSource(String name, DataSourceHolder dataSourceHolder) {
|
||||
dataSources.put(name, dataSourceHolder);
|
||||
|
||||
this.totalWeight += dataSourceHolder.getWeight();
|
||||
this.computeTotalWeight();
|
||||
}
|
||||
|
||||
public Properties getProperties() {
|
||||
|
||||
Reference in New Issue
Block a user