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

Provider-SQL reduce statement and connection overhead #197

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

ajcaldera1
Copy link

Description of your changes

Fixes #194
Fixes #195

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Local unit tests verified.
Scenario 1: Role created with no connection limit Result: Success, no further statements setting CONNECTION LIMIT were noted in the postgres.log
Scenario 2: Role created with connection limit -1 Result: Success, no further statements setting CONNECTION LIMIT were noting in the postgres.log
Scenario 3: Role created with connection limit -1 and updated to connection limit 5 Result: Success, only 1 ALTER ROLE CONNECTION LIMIT statement was produced

Also noted reduced connection overhead with implementation of connection pooling.

@ajcaldera1 ajcaldera1 changed the title Fux Provider-SQL reduce statement and connection overhead - #197 Oct 15, 2024
@ajcaldera1 ajcaldera1 changed the title Provider-SQL reduce statement and connection overhead - #197 Provider-SQL reduce statement and connection overhead Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant