Closed sartios closed 5 years ago
AWS defaults for this value is 300 seconds according to this link
I'm going to add the default value of 300 sec to params and update to conditional to check whether is undefined.
@sartios Thanks! this looks good - I added a few comments, but after that i'm happy to merge.
thanks, this is now on NPM as 5.1.2
this changes backwards compatibility, so it's not OK to merge it. it would be better to use explicit value of 0 if you want to use zero. Amazon's default is not zero, from what I understand, so keeping this in line with AWS defaults is important, especially because lots of people already use it like that.