Closed Bug 429407 Opened 17 years ago Closed 17 years ago

upgrade OG module and include job_queue module

Categories

(Websites Graveyard :: spreadfirefox.com, defect, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alix, Assigned: paul)

References

()

Details

Attachments

(2 files, 2 obsolete files)

Posting on groups with many members will often result in timeouts, multiple posts, and multiple email notifications. It is possible that this is linked to the email notification and the web site doesn't confirm submission of the post in time. Users posting might also be getting impatient and hitting submit multiple times. This is happening in particular on: Mozilla Sponsored Events, Community@SFx, New Spreadfirefox Design Goes Live groups. These are all large groups so it's hard to test the exact steps to reproduce, as it will send email notifications to the large number of subscribers for each group. Haven't been able to reproduce it in smaller groups.
This might be causing bug 418862
Assignee: ian-bugzilla → nobody
Priority: -- → P2
and *maybe* bug 418480
OK -- so, we think a lot of the timeout issues are related to og.module sending out lots of emails 1 by 1. We were thinking disabling emails might be a good option, however, upgrading to the latest og module will probably do the trick. If the job_queue model is installed, the latest og.module supporting queuing of emails, which are send from cron. This should fix the timeout issues. Now the problem becomes, how hard is it to upgrade that module? It looks like there are some custom hacks ...
Assignee: nobody → cpollett
This will temporarily disable OG mail until someone takes the time to upgrade OG and install the job_queue module.
Attachment #321135 - Flags: review?(cpollett)
Comment on attachment 321135 [details] [diff] [review] Disables OG mail. wfm.
Attachment #321135 - Flags: review?(cpollett) → review+
Sending modules/og/og.module Transmitting file data . Committed revision 13202.
14:27 <oremj> tagged with svn merge -c 13202 http://svn.mozilla.org/projects/spreadfirefox.com/trunk . ... just for house keeping. Leaving open because we need to implement the new og module -- so we can properly solve this bug.
we need to update the OG module so it can support the job_queue module. Once we do this, we can re-enable mail on SFX.
Summary: Spreadfirefox timeout and duplicate posts → upgrade OG module and include job_queue module
@Alex Good call , i have been working towards this. https://bugzilla.mozilla.org/show_bug.cgi?id=443353
Blocks: 418862
Priority: P2 → P1
Blocks: 429410
@Alex The OG module has now been updated to 5.x-7.3 Ill get the job_queue module working on my local machine and then commit to SVN and test the module again on stage ...
It looks like OG Mail has been turned on again. Sfx members are getting notified of new posts several times. It needs to be turned off again asap.
(In reply to comment #12) > It looks like OG Mail has been turned on again. Sfx members are getting > notified of new posts several times. > It needs to be turned off again asap. Probably got turned on by the upgrade in bug 443353. I can recommit oremj's patch to turn it off, if you would like.
If oremj's patch will work after the upgrade, then yes, please recommit it. Thanks!
Update: Ian updated the admin settings to disable email notification for group postings, so Sfx should be ok without the patch for now.
Assignee: cpollett → paul
If we want to install Job Queue @ http://drupal.org/project/job_queue we will need to commit this contributed module to SVN and patch the OG module (please see patch) I couldn't test this module completely on my local machine as i have a mail out problem that i have not resolved presently but my expectation is that Job Queue will work fine on stage. Paul.
Attachment #334861 - Flags: review?
If we want to install Job Queue @ http://drupal.org/project/job_queue we will need to commit this contributed module to SVN and patch the OG module (please see patch) I couldn't test this module completely on my local machine as i have a mail out problem that i have not resolved presently but my expectation is that Job Queue will work fine on stage. Paul.
Attachment #334884 - Flags: review?
I tested the OG module + Job Queue on my personal VPS server @ http://drupal5.drupalr.org and it worked perfectly.
Attachment #334884 - Flags: review? → review?(buchanae)
Comment on attachment 334884 [details] [diff] [review] A patch to OG to enable Job Queue functionality r-'ing because the TODO there seems simple enough to take care of now, I'd rather not try to revisit it (aka forget that TODO even exists). Please take care of it and resubmit your patch. you can check in the og.module file for job queue, or you can make it a dependency in og.info. If you check in the module code, make sure to fall back to drupal_mail() if it doesn't exist
Attachment #334884 - Flags: review?(buchanae) → review-
Job queue is a good fix, but it sucks we have to edit og.module to fix this, IMO. We might look at the Subscriptions module to solve this problem in the future. http://drupal.org/project/subscriptions Looks like it lets you limit the number of outgoing mails and also uses the same strategy as job_queue to prevent PHP execution time limits. This is something to think about for the next version of SFX. They say it may replace OG's current mail system anyway
Attachment #334861 - Attachment is obsolete: true
Attachment #334884 - Attachment is obsolete: true
Attachment #336815 - Flags: review?(buchanae)
Attachment #334861 - Flags: review?
Attachment #336815 - Flags: review?(buchanae) → review+
added job queue module and patch to trunk in r18178
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0
Blocks: 481561
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: