https://bugzilla.wikimedia.org/show_bug.cgi?id=31081

       Web browser: ---
             Bug #: 31081
           Summary: $wgEnotifUseJobQ causes many unnecessary jobs to be
                    queued
           Product: MediaWiki
           Version: 1.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Email
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: tstarl...@wikimedia.org
    Classification: Unclassified


With $wgEnotifUseJobQ enabled, a job is queued unconditionally, regardless of
whether any emails will be sent. The relevant logic for deciding who to send
emails to is implemented in actuallyNotifyOnPageChange(), which is common to
job execution and non-job email sending.

This is especially obvious with $wgEnotifWatchlist=false and
$wgEnotifUserTalk=true, as it is on enwiki. The page title is not checked to
see if it is a user talk page before the job is queued, so more than 90% of
queued jobs are no-ops.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to