errbit/errbit — Issue #118: Consider enforcing a hard limit on number of notices for a given Error
Author: ndbroadbent
Created: 2011-11-02 16:17:18+00:00
State: open

Found out that 1 or 2 of our 'problems' had over 8000 notices. Staging database had been offline for a day or so and the app was constantly firing off errors.

I think it might be a good idea to enforce a hard limit on the number of notices. I think even 500 occurrences would be more than enough information to solve the problem.
We could have a secondary counter on each error that is incremented for every notice after the first 500.
This would allow us to keep a record of how many times the error occurred, but we wouldn't need to store all of the data.