job_queue handles all queued email sending for og module. it works well. it ha s afew lines of nitfy code which assure that you don't time out in a cron run. if you already wrote your own queueing, then perhaps it isn't needed. but still take a look.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | subscriptions_mail.cron_.196771.2.patch | 2.74 KB | salvis |
Comments
Comment #1
salvisPresently, we're sending a configurable number of emails per cron, with a default of 200.
The UI for configuring subscriptions_number_of_mails isn't there yet though.
Yes, that's an interesting idea, thanks! Let's see what chx thinks of it...
Comment #2
salvisPlease try the attached patch, especially those of you with sizeable "test sites," like introfini. :-)
Every cron run creates a watchdog message like the following:
Subscriptions sent N single and M digest messages in S of T seconds; X queue items left.
I'd like to get an idea of what kind of numbers you're seeing.
(I'll add an option to suppress the watchdog message.)
Comment #3
salvisHas anyone tried this yet?
Comment #4
salvisIt's implemented now. There's also a new cron message that will show you the relevant numbers. I'd be interested to see some numbers from those of you who are running 2.0 on big "test sites"...
Also see #233079: status of queuing and cron UI or controls?.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.