#11565: Rate Limit Error Emails
---------------------------------------------+------------------------------
          Reporter:  andrewmintel            |         Owner:  nobody
            Status:  closed                  |     Milestone:        
         Component:  Core framework          |       Version:  SVN   
        Resolution:  wontfix                 |      Keywords:        
             Stage:  Design decision needed  |     Has_patch:  1     
        Needs_docs:  0                       |   Needs_tests:  1     
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Changes (by lukeplant):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 Is there any reason you couldn't do this within a custom logging handler,
 as suggested by Russell on that thread?  Why do you need your errors rate
 limited at that level of the code, rather than at another level?
 '''Something''' is dealing with thousands of errors a second, and with
 your implementation it is forced to be in-process Python code, while with
 a custom logging handler even the duplicate detection could be passed off
 to another process. (or not, whatever you decide).

 If we added this, we would also need to decide on the definition of
 'duplicate' - you have decided that it is based solely on the traceback,
 which is fine.  But I can see other possibilities - like wanting to know
 how many times the error is happening per user, for sites with fewer users
 for example.

 To me it seems this is better done within a custom logging handler, so
 that it can be developed and improved independently of Django itself.
 That's what Russell clearly thought too, in the thread on django-
 developers, so I'm going to close WONTFIX.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11565#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to