New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error if AWS_SES_AUTO_THROTTLE set to None #218
Comments
Oh and I was able to work around this by setting |
@curtismorales would you be open to making a PR for this? Could create this type of function and fall back to `None? |
Yep, happy to. I'll open a PR when I have a minute. |
Hi folks - did an upgrade and hit this issue due to the naive float coercion. @pcraciunoiu and @curtismorales - looks like the PR for this is close to being done and just needs to be pushed over the line. Any chance you could make some time to complete the thought? It'll save others some hassle for sure. |
Hey Luke,
Thank you for posting.
I'm not actively using this repo now, would you be interested in submitting a fix you can test?
Message ID: ***@***.***>
|
Hi @pcraciunoiu - I'm confused; what's wrong with @curtismorales's PR? He's got some tests. If you're not actively maintaining this repo anymore, I recommend adjusting your readme so it states you're looking for new maintainers. Perhaps one of the many people using this library will have some spare time to help. |
@lukeburden @curtismorales this has been released as part of v2.5.0 - https://pypi.org/project/django-ses/2.5.0/ @lukeburden I am maintaining the repo, but I'm not actively using the project. It's a good point though, I'll add something to the readme. |
My apologies on not wrapping up this conversation and fix back in August! Thanks @lukeburden for bumping it! |
@pcraciunoiu amazing, thanks for that! And no worries @curtismorales, thanks for the contribution. |
If I set
AWS_SES_AUTO_THROTTLE
toNone
in my django settings, I get an error on initializing the SESBackend, I believe because of this commit coercing the setting to a float.The README instructs users to set
AWS_SES_AUTO_THROTTLE
toNone
to turn off automatic throttling, as does a commentLooks like this could be fixed by doing this coercion here or falling back to 0 here
In case it's helpful to see a traceback:
The text was updated successfully, but these errors were encountered: