Item2460: Should either lock, or be able to survive several parallel runs without generating duplicate mails.

pencil
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MailerContrib
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: CrawfordCurrie
MailerContrib docco links http://foswiki.org/Support.DuplicateNotificationsFromMailerCon wich does not exist.

So I created it from http://twiki.org/cgi-bin/view/Support.DuplicateNotificationsFromMailerCon

there's a script there who's code really should be in MailerContrib - writing a support script to support a script is a bit redundant :/

rather than making locks, its actually simpler to make queues and to process sequentially..

eg

if there is a mailnotify running, the second mailnotify writes a file with its params to its working dir. When the original mailnotify has finished processing, it sees there is another operation queued, and so reads the params, deletes the file and processes them.

it might be simpler though to change MailerContrib so that the news and changes options don't clobber each other..

-- SvenDowideit - 05 Dec 2009

Agreed, but I suspect locks are simpler. Mail notification can be run in several different ways, not just through the script.

-- CrawfordCurrie - 08 Dec 2009

Changed title from "we should not need a support script to prevent MailerContrib from getting confused."

ItemTemplate edit

Summary Should either lock, or be able to survive several parallel runs without generating duplicate mails.
ReportedBy SvenDowideit
Codebase
SVN Range
AppliesTo Extension
Component MailerContrib
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r3 - 25 Mar 2013, CrawfordCurrie - This page was cached on 12 Sep 2020 - 19:56.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy