Created
October 29, 2020 12:48
-
-
Save spiashko/ecea356ae339b7b7836e6885b8a0d4da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for i in $(gcloud pubsub subscriptions list | grep name | cut -d: -f2); do | |
echo updating retry-policy for $i | |
gcloud pubsub subscriptions update $i --min-retry-delay=10s --max-retry-delay=600s | |
echo updated | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment