You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be great to have the option to tweak that percentage or turn off those emails. Whenever there's a client or bot messing up requests, we end up flooded with those emails.
The text was updated successfully, but these errors were encountered:
Maybe we can add an option (something like a link within the email) that will send a request to the server to disable these emails for a certain duration.
Can I get the steps to reproduce this email if possible?
Where do I set the email who will get the spam?
Is there anything specific I need to do with the datasets.xml file?
I think we should add a parameter to the datasets.xml that allows specifying the unusual activity threshold. Maybe something like unusualActivityFailPercent that defaults to 25 and has -1 as an option to disable the email.
To get the email, you should be able to just send requests to a local server that cause errors. You could set up a specific kind of request to throw an exception (temporarily to make testing easier).
Request from Frederic Leclercq:
Add a way how to disable/and or adjust the limits for the "Unusual activity" mail.
The 25% is hard coded:
https://github.com/ERDDAP/erddap/blob/main/WEB-INF/classes/gov/noaa/pfel/erddap/LoadDatasets.java#L1253
It'd be great to have the option to tweak that percentage or turn off those emails. Whenever there's a client or bot messing up requests, we end up flooded with those emails.
The text was updated successfully, but these errors were encountered: