-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(feeds): remove feeds after 3 failed attempts
We have a bunch of feeds in our system that are failing in a loop. Previously we did not notify the user when there was a failure, we just logged it internally. With this change, we will prepend errors to the email message body. Further, if the feeds errors and doesn't return any feed items, we increment a counter. 3 failed attempts and we remove the post and notify the user.
- Loading branch information
Showing
2 changed files
with
74 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters