denishpatel / pygmy

Pygmy: Saving AWS Bills on Standby DB Servers
5 stars 1 forks source link

failed rules seem to run indefinitely #60

Closed benchub closed 3 years ago

benchub commented 3 years ago

When a rule fails to run, a cron entry to re-run it is created, but there doesn't seem to be any accounting for how often it has failed to date. If I say I want to retry something 3 times.... I don't see how pygmy knows which of those 3 retries it is currently trying - or indeed if it's on retry 342342.

benchub commented 3 years ago

Should by fixed by https://github.com/denishpatel/pygmy/pull/59/commits/33383ac691fea262bf12b9d41a128867553c51cf