AdminEmailHandler is synchronous.
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Hi set up my logging settings to email me in certain situations (e.g. aliens visiting my site) by doing
logger.warn("Visitor from space") in a middleware class, and then setting a logger for that middleware class to use AdminEmailHandler. However it is useless, because AdminEmailHandler is synchronous! Any aliens have to wait two or three seconds for the email to be sent before seeing my site!
It would be much much better if the email was asynchronous, or at least there was an additional AsyncAdminEmailHandler which was used by default.
Change History (6)
comment:2 Changed 4 years ago by
|Component:||Core (Other) → Core (Mail)|
|Triage Stage:||Unreviewed → Accepted|
|Type:||Uncategorized → New feature|