Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticket: Connection Pooling #21

Closed
CSalih opened this issue Feb 13, 2022 · 0 comments · Fixed by #25
Closed

Ticket: Connection Pooling #21

CSalih opened this issue Feb 13, 2022 · 0 comments · Fixed by #25

Comments

@CSalih
Copy link
Owner

CSalih commented Feb 13, 2022

Ticket: Connection Pooling

Task

For this ticket, you'll be required to modify the configuration of option that defines our maxPoolSize in the application.properties file, and set the maximum size of the connection pool to 50 connections.

By changing the properties file, the MongoClient should be configured to use no more than 50 connections. Revise the ConnectionString java class api.


Testing and Running the Application

If the application is already running, stop the application and run the unit tests for this ticket by executing the following command:

mvn test -Dtest=ConnectionPoolingTest

Once the unit tests are passing, run the application with:

mvn spring-boot:run

Or deploy the application from your IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant