Mercury Pressflow (drupal) 上的重复电子邮件通知

发布于 2024-09-30 04:41:27 字数 451 浏览 0 评论 0原文

我们在使用 Mercury Pressflow 实施上的通知模块向用户发送重复通知时遇到了问题。除了一件事之外,重复的消息是相同的 - 其中一条消息中的 [node-url] 标记被替换为“默认”。消息中的所有其他标记均已正确替换。
重复的电子邮件不会持续发生,可能占已发送通知的 10-15%,但是重复的邮件始终具有正确的 URL 和地址。 “默认”网址。

我们对 Mercury 所做的唯一重大修改是将 MySQL 剥离到它自己的服务器上并添加复制。目前,我们将读取设置为 2 个 MySQL 实例之间的循环。

我根据发现的类似问题进行了以下故障排除 确保 cron 作业调用正确的 url 将所有名为“default”的配置替换为站点名称(Memcached、Varnish 和 Apache 配置) 在通知模块的 init_hook 中禁用缓存

有没有人经历过与通知和 Mercury 类似的事情?非常感谢任何和所有的建议。

We’re running into an issue sending duplicate notifications to our users using the Notifications module on our Mercury Pressflow implementation. The duplicate messages are identical save one thing- the [node-url] token is being replaced with ‘default’ in one of the messages. All the other tokens in the message are being replaced correctly.
The duplicate emails do not happen consistently, maybe 10-15% of the notifications sent out, however a duplicate message always has the proper url & the ‘default’ url.

The only major modification we’ve made to Mercury was spinning off MySQL to it’s own server and adding replication. We currently have the reads set up to round robin between the 2 MySQL instances.

I have done the following troubleshooting based on finding similar issues
made sure the cron job is calling the correct url
replaced all configurations named ‘default’ with the site name (Memcached, Varnish, and Apache configs)
disabled caching in an init_hook in the notifications module

Has anyone out there experienced anything similar with Notifications and Mercury? Any and all advice is greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

指尖上得阳光 2024-10-07 04:41:27

“Mercury”堆栈位于 Drupal 外部,不会影响电子邮件的排队或发送方式。您的消息传递/通知配置或使用中的某些内容导致创建多条消息。

如果您在这里有任何自定义代码,我会查看它并尝试跟踪令牌差异。

The "Mercury" stack is external to Drupal and doesn't affect how email is queued or sent. Something within your messaging/notifications configuration or use is causing multiple messages to be created.

If you have any custom code here, I would look at that and try to trace the token variance.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文