Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-1547

civimail.cronjob.php locking patch

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6
    • Component/s: CiviMail
    • Labels:
      None

      Description

      This patch to civimail.cronjob.php adds file locking to the delivery process, preventing more than one overlapping delivery from occurring which could otherwise result in duplicate email messages being sent.

      The better fix would be a DB-side lock, whether per record or per mailing queue/job
      is up to the implementors, but it would protect from other calling mechanisms,
      such as roll-your-own cron jobs or calling the undocumented but sometimes
      useful 'mailing/queue' function.

        Attachments

          Activity

            People

            • Assignee:
              pankaj Pankaj Sharma
              Reporter:
              fen Fen Labalme
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: