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

Set db.pool.config.* default values in application.properties #369

Open
bs352 opened this issue Oct 18, 2023 · 0 comments
Open

Set db.pool.config.* default values in application.properties #369

bs352 opened this issue Oct 18, 2023 · 0 comments

Comments

@bs352
Copy link
Contributor

bs352 commented Oct 18, 2023

As per issue submitted to the main nacos repostory:
alibaba/nacos#11252

I was experiencing a failure of initialization of the embeded derby database during startup on a somewhat slow machine.

After some digging, it appears the connection timeout is changed from 30s to 3s around version 2.2.1. While the main nacos project contains a default application.properties file that overrides the timeout back to 30s, the modified version for docker image in this repository does not have db.pool.config.* properties.

May I suggest that we add db.pool.config.* properties into application.properties with sensible defaults, and add documentation to include these properties.

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

No branches or pull requests

1 participant