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

Tune notification spooling #558

Merged
merged 5 commits into from
Aug 10, 2024
Merged

Tune notification spooling #558

merged 5 commits into from
Aug 10, 2024

Conversation

spbnick
Copy link
Collaborator

@spbnick spbnick commented Aug 9, 2024

Reduce the instances of notification-spooling Cloud Functions to just two to reduce the load on PostgreSQL, and double their memory, as they're hitting the current limit quite often now.

Revoke the default permission to create object in the public schema of each KCIDB database in PostgreSQL. That permission is granted per-user, and the default was overlooked until recently.

Supply the currently-used PostgreSQL instance settings when creating, so we don't lose them.

Raise the number of maximum connections for default PostgreSQL, so it
could act as the server for integration testing, even with very little
resources in the small instance type we're using.

Also enable IAM authentication, as that seems to be the default, just in
case setting our own flags overrides it (no time for testing, sorry).
Revoke the default permission to create object in the public schema of
each KCIDB database in PostgreSQL. That permission is granted per-user,
and the default was overlooked until recently.
Reduce the instances of notification-spooling Cloud Functions to just
two to reduce the load on PostgreSQL, and double their memory, as
they're hitting the current limit quite often now.
@spbnick spbnick merged commit 95bf8d1 into main Aug 10, 2024
6 checks passed
@spbnick spbnick deleted the tune_notification_spooling branch August 10, 2024 06:42
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