Project

General

Profile

Bug #13500

Received multiple notifications for a single post

Added by Matt Gold 12 months ago. Updated 12 months ago.

Status:
Assigned
Priority name:
High
Assignee:
Category name:
Email Notifications
Target version:
-
Start date:
2020-10-25
Due date:
% Done:

0%

Estimated time:


Related issues

Related to CUNY Academic Commons - Bug #13429: Multiple forum notificationsResolved2020-10-05

History

#1 Updated by Raymond Hoh 12 months ago

  • Related to Bug #13429: Multiple forum notifications added

#2 Updated by Raymond Hoh 12 months ago

I checked the Cavalcade queued jobs to see if there were multiple jobs of our group email blast job as in #13429:

wp cavalcade jobs --status=waiting --limit=500 --hook=bp_ges_check

+--------+------+--------------------+---------------------+---------------------+---------+
| id     | site | hook               | start               | nextrun             | status  |
+--------+------+--------------------+---------------------+---------------------+---------+
| 625231 | 1    | bpges_health_check | 2020-10-07 21:58:51 | 2020-10-25 20:03:51 | waiting |
| 630090 | 1    | bpges_health_check | 2020-10-23 16:43:51 | 2020-10-25 20:03:51 | waiting |
+--------+------+--------------------+---------------------+---------------------+---------+

Our GES log confirms that two emails were sent for that forum post due to the duplicate job:

[25-Oct-2020 16:33:55] BPGES Health Check: Triggering "immediate" digests for activity 713024
[25-Oct-2020 16:33:55] Beginning batch of immediate notifications for 713024.
[25-Oct-2020 16:33:55] BPGES Health Check: Triggering "immediate" digests for activity 713024
[25-Oct-2020 16:33:55] Beginning batch of immediate notifications for 713024.
[25-Oct-2020 16:33:58] Finished sending immediate notifications for 713024. A total of 59 notifications were sent over all batches.
[25-Oct-2020 16:33:58] Finished sending immediate notifications for 713024. A total of 60 notifications were sent over all batches.

To fix this, I removed the second job. This doesn't explain why you received three copies though. Will look a bit further.

Related: #13466 tracks the removal of duplicate Cavalcade jobs.

Also available in: Atom PDF