PagerDuty / pd-oncall-chat-topic

AWS Lambda Function that updates a Chat Room topic (eg, Slack)
Apache License 2.0
86 stars 36 forks source link

Automatically clean up DDB Table after too many failures #2

Open jolexa opened 7 years ago

jolexa commented 7 years ago

Things in PD or Slack may change. In an effort to save execution time, it might make sense to log how many failures there are and then after N failures, remove the ddb entry.

The DDB table already supports TTL so the logic could be extended to log the failures then add a TTL entry.