aws-samples / aws-lambda-ddns-function

Dynamically create Route 53 resource records using CloudWatch Events and Lambda
Apache License 2.0
236 stars 116 forks source link

60s Sleep #28

Closed dirk39 closed 6 years ago

dirk39 commented 6 years ago

Hi, i'm just playing with your example and i found that in handler_union function, if state is running there is a sleep of 60 seconds. Is just a mistake or there is a good reason? In your guide I read to set the lambda function timeout to 30 seconds, so this code will always timing out.

Thanks

Andrea

dirk39 commented 6 years ago

I'm sorry i read now the README.md where you increase the timeout to 90 seconds. Reading the blog i noticed that the comand to create the lambda function use 30s of timeout instead of 90s.

Thanks

Andrea