Skip to content

Commit ede5225

Browse files
committed
back out numConnectionsPerThreadLocal=1 due to #3508
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
1 parent d1485bc commit ede5225

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

demo/fhir/configDropins/overrides/datasources.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
password="change-password"
1313
currentSchema="fhirdata"
1414
/>
15-
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="1"/>
15+
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="0"/>
1616
</dataSource>
1717

1818
<!-- The default bulkdata.xml config includes a batchPersistence element that

docs/src/pages/guides/DB2OnCloudSetup.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ You are now able to connect to the database as the FHIRSERVER user using only th
189189
190190
3. Click Administration > User Management
191191
192-
4. Click Add User, and enter the user details with a sufficiently complex password. Set the `User Privilege` as `User`.
192+
4. Click Add User, and enter the user details with a sufficiently complex password. Set the `User Privilege` as `User`.
193193
194194
5. Save these details for the datasource.xml.
195195
@@ -320,14 +320,14 @@ Create a file as the following
320320
portNumber="${DB_PORT}"
321321
securityMechanism="15"
322322
sslConnection="true" />
323-
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="1"/>
323+
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="0"/>
324324
</dataSource>
325325
</server>
326326
```
327327

328328
#### For Db2 Auth user
329329

330-
Create a file as the following:
330+
Create a file as the following:
331331

332332
``` xml
333333
<server>
@@ -342,11 +342,11 @@ Create a file as the following:
342342
databaseName="${DB_NAME}"
343343
driverType="4"
344344
portNumber="${DB_PORT}"
345-
sslConnection="true"
345+
sslConnection="true"
346346
user="fhirserver"
347347
password="mypassword"
348348
/>
349-
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="1"/>
349+
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="0"/>
350350
</dataSource>
351351
</server>
352352
```

docs/src/pages/guides/FHIRPerformanceGuide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ The recommended approach for tenant datatstore configuration is to use individua
145145
sslmode="require"
146146
sslrootcert="resources/security/your-postgres-host.crt" />
147147
/>
148-
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="1"/>
148+
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="0"/>
149149
</dataSource>
150150
```
151151

@@ -266,7 +266,7 @@ The IBM FHIR Server supports multi-tenant SearchParameter extensions described i
266266

267267
The IBM FHIR Server team recommends each tenant include an `extension-search-parameters.json` file, even if it is empty.
268268

269-
An example of the empty search parameters file is:
269+
An example of the empty search parameters file is:
270270

271271
``` json
272272
{

fhir-server-webapp/src/main/liberty/config/configDropins/disabled/datasource-db2.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
currentSchema="FHIRDATA"
1414
driverType="4"
1515
/>
16-
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="1"/>
16+
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="0"/>
1717
</dataSource>
1818
</server>

fhir-server-webapp/src/main/liberty/config/configDropins/disabled/datasource-postgresql.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
password="change-password"
1313
currentSchema="fhirdata"
1414
/>
15-
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="1"/>
15+
<connectionManager maxPoolSize="200" minPoolSize="20" connectionTimeout="60s" maxIdleTime="2m" numConnectionsPerThreadLocal="0"/>
1616
</dataSource>
1717
</server>

0 commit comments

Comments
 (0)