PromucFlow_constructor/app/server/appsmith-plugins
sneha122 b7c06d6c60
fix: added configurable connection pool support for mssql (#38818)
## Description
With current implementation, MSSQL is configured with HikariCP to have
maximum pool size of 10. But this means that if multiple concurrent
users are accessing multiple queries of the same datasource at the same
time, some of the queries might time out due to max pool size of 10. We
have encountered this issue in
https://theappsmith.slack.com/archives/C0341RERY4R/p1736150680663059.
Where 40-50 concurrent users are simultaneously making 20-30 queries to
MSSQL database.


This PR makes this connection pool size configurable from admin settings
for MSSQL as well.


Fixes #https://github.com/appsmithorg/appsmith-ee/issues/5928
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/12925650660>
> Commit: ebda9364200b4df19c86b8ec4e68a95d6180f10c
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12925650660&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Thu, 23 Jan 2025 11:18:35 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Enhanced connection pool configuration for MSSQL plugin
	- Added support for dynamically setting maximum connection pool size

- **Improvements**
	- Increased flexibility in database connection management
	- Implemented configurable connection pool settings

- **Tests**
	- Added mock configuration for testing connection pool settings

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2025-02-01 00:36:19 +05:30
..
amazons3Plugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
anthropicPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
appsmithAiPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
arangoDBPlugin chore: Query Editor full width option (#37138) 2024-10-31 15:20:48 +05:30
awsLambdaPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
databricksPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
dynamoPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
elasticSearchPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
firestorePlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
googleAiPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
googleSheetsPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
graphqlPlugin chore: Upgrading spring to 3.3.3 to resolve vulnerable dependencies (#36266) 2024-10-01 22:12:56 +05:30
jsPlugin chore: Applied Spotless formatter (#25173) 2023-07-07 00:43:11 +05:30
mongoPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
mssqlPlugin fix: added configurable connection pool support for mssql (#38818) 2025-02-01 00:36:19 +05:30
mysqlPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
openAiPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
oraclePlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
postgresPlugin chore: Remove style from editor and setting config (#38756) 2025-01-23 13:29:03 +05:30
redisPlugin chore: Query Editor full width option (#37138) 2024-10-31 15:20:48 +05:30
redshiftPlugin chore: add spotless for sql files for postgres (#37016) 2024-11-09 11:21:30 +05:30
restApiPlugin chore: Upgrading spring to 3.3.3 to resolve vulnerable dependencies (#36266) 2024-10-01 22:12:56 +05:30
saasPlugin fix: logger-not-working-in-plugins (#36231) 2024-09-17 10:47:58 +01:00
smtpPlugin fix: SMTP datasource should work without username and password (#37319) 2024-11-15 12:32:41 +05:30
snowflakePlugin chore(deps): bump net.snowflake:snowflake-jdbc from 3.13.29 to 3.20.0 in /app/server/appsmith-plugins/snowflakePlugin (#37175) 2024-11-15 07:29:14 +05:30
pom.xml chore: added comment to avoid merge conflicts (#38211) 2024-12-17 20:21:28 +05:30