#59: Prevent Invenio from filling email inboxes
-----------------------+----------------------------------------------------
Reporter: bthiell | Owner: skaplun
Type: defect | Status: in_merge
Priority: major | Milestone: v1.0
Component: MiscUtil | Version:
Resolution: | Keywords: register_exception
-----------------------+----------------------------------------------------
Comment (by skaplun):
This is actually implemented in the following way: for every exception, it
is stored in a db table the type, the filename and the line where this
happens. Then a counter for it is incremented, if the counter is a power
of two (i.e. 1, 2, 4, 8...) then the exception is notified via email (if
this was actually required by the code). If the last time an exception was
actually sent is greater than a certain delay of time (i.e. notification
are becoming too much too rare) the counter is reset.
--
Ticket URL: <http://invenio-software.org/ticket/59#comment:3>
Invenio <http://invenio-software.org>