Skip to content

Conversation

luizstacio
Copy link
Member

@luizstacio luizstacio commented Jun 6, 2025

This pull request introduces a new configuration option for managing the database connection pool size and updates the related logic in the application. The changes improve flexibility by allowing users to specify the pool size independently of the number of concurrent tasks.

Configuration Updates:

  • services/consumer/src/cli.rs: Added a new db_pool_size argument to the CLI, allowing users to specify the database connection pool size via a command-line argument or environment variable. The help text for concurrent_tasks was also updated for clarity.

Database Initialization Logic:

  • services/consumer/src/main.rs: Updated the database setup logic to use the new db_pool_size argument. If db_pool_size is not provided, it defaults to the value of concurrent_tasks.

@luizstacio luizstacio merged commit 317b5cb into main Jun 6, 2025
35 checks passed
@luizstacio luizstacio deleted the ls/feat/add-db-params branch June 6, 2025 06:55
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 this pull request may close these issues.

1 participant