Fork me on GitHub
#aws
<
2022-08-02
>
jjttjj22:08:46

The pending-ops-limit in aws-api's http client ( https://github.com/cognitect-labs/aws-api#ops-limit-reached) shouldn't be hit if I'm only invoking all api calls from a single thread, right? I keep getting this error. Specifically I'm using a lambda with a concurrency of 1, with the clients created outside of the handler function (so on the lambda initialization). I'm only using a single thread in the lambda, and only making ~1 req/second. I've already tried the "each api gets its own custom http-client" thing suggested in the readme, and also doubled the ops-limit, but it's still getting hit. Any clues as to what could cause this?

hiredman22:08:52

it has been a minute, but if you are using aws-api asynchronously and not waiting for the result of each operation maybe

jjttjj22:08:14

Nope, only the sync api