Skip to content

Commit c66ee16

Browse files
committed
updated deploy.sh
1 parent bf73262 commit c66ee16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gcp_cloud_function_sql_export/deploy.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ gcloud functions deploy "$name" --trigger-topic "$topic" \
3636
--service-account "$service_account" \
3737
--region "$region" \
3838
--timeout 60 \
39-
--memory 128MB
39+
--memory 128MB \
40+
--max-instances 1 # this isn't good enough because it sets off an async API call, so successive calls can fail if called before that SQL Admin API export has finished
4041
# --vpc-connector "$vpc_connector"

0 commit comments

Comments
 (0)