friendica/red — pull request #173 by beardy-unixer (2013-10-10 20:27:23+00:00)
Title: Don't send a quintillion emails every time mysql restarts.

Before sending an email for a failed update, dump a file to mark the fact that we've sent it. Check it doesn't exist before continuing. Stick $x (the revision number) in the lockfile on the off chance it's an actual update failure and we need it to figure out what really went wrong.