Skip to content

Commit

Permalink
cloud: Tune notification spooling to increased load
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
spbnick committed Aug 10, 2024
1 parent becb860 commit 95bf8d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kcidb/cloud/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ function functions_deploy() {
spool_notifications \
--env-vars-file "$env_yaml_file" \
--trigger-topic "${updated_topic}" \
--memory 2048MB \
--max-instances=5 \
--memory 4096MB \
--max-instances=2 \
--timeout 540

function_deploy "$sections" "$source" "$project" "$prefix" \
Expand Down

0 comments on commit 95bf8d1

Please sign in to comment.