Skip to content

Conversation

dragomirp
Copy link
Contributor

@dragomirp dragomirp commented Nov 8, 2023

Issue

Starting a connection for each db to enable or disable plugins will take more and more time as the number of plugins increases.

Solution

Open a single connection per db and enable or disable the plugins in one go.

Copy of canonical/postgresql-k8s-operator#322

@dragomirp dragomirp marked this pull request as ready for review November 12, 2023 12:28
Copy link
Contributor

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tnx!

Copy link
Member

@marceloneppel marceloneppel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dragomirp dragomirp merged commit c672b6e into main Nov 16, 2023
@dragomirp dragomirp deleted the dpe-2902-plugins-restore branch November 16, 2023 12:20
BON4 pushed a commit to BON4/postgresql-operator that referenced this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants