Samagra-Development / WarpSQL

WarpSQL
https://samagra-development.github.io/WarpSQL/
Apache License 2.0
16 stars 28 forks source link

Set Max Connection Limit as Env Variable #70

Open AtulRajput01 opened 1 year ago

AtulRajput01 commented 1 year ago

This PR addresses issue #18 add a new environment variable, POSTGRES_MAX_CONNECTIONS, to the docker-compose.yml file in order to configure the maximum number of database connections for the TimescaleDB service. By setting the value to 10, we can increase the maximum allowed connections to improve scalability and accommodate higher traffic.

ChakshuGautam commented 1 year ago

Hey @AtulRajput01 are we using PG or POSTGRES as the prefix for all these?

AtulRajput01 commented 1 year ago

@ChakshuGautam yes sir, we are using 'POSTGRES' as the prefix for all these variables.

AtulRajput01 commented 1 year ago

I have made the changes accordingly. I have updated the value of POSTGRES_MAX_CONNECTIONS 10 to 100.

Screenshot from 2023-06-15 18-56-14

AtulRajput01 commented 1 year ago

Can you add the test to the workflow?

hi @jayanth-kumar-morem , Added a smoke test to verify the maximum number of database connections