Anyone tried to run lots of `sst deploys` in paral...
# sst
d
Anyone tried to run lots of
sst deploys
in parallel--and hit AWS RATE LIMITS?
Any tips?
I’ve added
logRetention
retries, and maybe that will fix it
f
Hey @Drew, can you give this retry option a try?
Copy code
logRetentionRetryOptions: {
      base: Duration.millis(500),
      maxRetries: 15,
    },
d
Yes! I’ll try that now
f
We are thinking to make this the default
d
I was just thinking about that too
Waiting to get this deploy kicked off…. and I’m pretty hopeful this new
logRetentionRetryOptions
bit will help
It worked!
We aren’t stuck on AWS rate limit errors
f
Nice 👍
j
https://github.com/serverless-stack/serverless-stack/issues/749 -- @Drew There is an open issue for this. I'll ty to fix it for eveyrone, then.
d
Oh, extra nice! That’d be great @JP (junaway) …however, be aware this didn’t fix all our rate limit issues. There are other sections which might also fail immediately without retry
j
@Frank Any thoughts ?
f
@Drew do you mean you also got this rate exceeded error for other resources (beside log retention)?
d
Yep — we ran describeStacks too much (I’m not 100% on which calls, but we had something else that’s angry too) We’re going to be less aggressive with running this
f
Hey @Drew, are you running a lot of `sst deploy`s in parallel, or are you deploy a lot of stacks in an
sst deploy
?
Are you getting the error on SEED? If so, could you DM me a link to the build where this happened?
d
Lots of
sst deploy
in parallel. We run the parallel deploys on another system. We don’t hit this problem on SEED.
f
Ah I see. Do you have a screenshot by any chance? I think I have a quick fix for this. Just wanted to look at the screenshot and make sure.