Commit b94dd91
committed
DataSourceConfig.setDefaults() honor a change to maxConnections
This is typically used when the configuration is used for 2 dataSources - a second readOnly datasource.
Before this change the readOnly datasource would by default get the 200 maxConnections default. With this change it will use the same maxConnections if defined on the main configuration.1 parent 2f00a8d commit b94dd91
File tree
2 files changed
+5
-0
lines changed- ebean-datasource-api/src
- main/java/io/ebean/datasource
- test/java/io/ebean/datasource
2 files changed
+5
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| 167 | + | |
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
| |||
0 commit comments