-
Notifications
You must be signed in to change notification settings - Fork 45
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
Ability to send asynchronous messages #7
Conversation
@kshnurov this broke the tests. Please include updated tests in this PR. There are still other broken tests from your merges that I'm trying to fix. |
@beorc Looks like you need to rebase your fork/branch on latest upstream master. That commit is super noisy. It should just be adding the async stuff and updating the associated tests. |
@spovich Done. |
@beorc Thank you for fixing up the tests. I haven't had a need for async personally, but I understand that it is useful for bulk sending. It seems to me that this might be more useful and flexible if it was configured per mailer rather than as you have it configured (per application)? @jlberglund @kshnurov any thoughts? Also, the Mandrill API has a few other method args for |
It would be great to have both per app and per mailer configuration. Also we should add an ability to specify async as an argument: Btw, we've encountered an unpleasant "feature" of Mandrill -
You should keep that in mind if you're using |
Thanks, @beorc. I've not had the need for async yet, but I've considered it. @kshnurov thanks for sharing that insight from Mandrill support. I had no idea. I agree with @spovich about sending per mailer, but I see no problem with a default per app also. Maybe something which can be unobtrusively set in a config file (e.g. through an options array). |
+1 for both per app and per mailer configuration. |
I think this is good to merge as it is now with the default to |
Hi @beorc, @jlberglund has transferred maintenance of this gem to me. I've made a few small updates to reflect those changes. Please rebase this PR and add a note to the README about async, and then it should be good to merge. Thanks! |
Hi! I'll take care of it. |
949535f
to
5dbff52
Compare
@spovich I've rebased PR and added a section to the README about configuration options. |
Ability to send asynchronous messages
No description provided.