ajmath / serverless-offline-scheduler

MIT License
96 stars 40 forks source link

Skip executions after sleep #45

Open tomusiaka opened 4 years ago

tomusiaka commented 4 years ago

We have a Lambda function running on a schedule every minute. Putting my computer to sleep and waking it up after a few hours results with the Lambda function being continuously executed hundreds of times without any break causing my machine to be nearly unusable with high CPU and network usage. Ideally, in situations like this it would skip all these executions except for the last one.