Conversation
supportThis plugin is generating multiple update notifications in Slack for other plugin updates. Is it possible to code in a check to avoid this behaviour or limit notifications to e.g. once an hour for the same event? https://wordpress.org/plugins/rock-the-slackbot/
Hi! It should only send the update notifications once a week. Knowing when the last one was sent is dependent upon transients, though. Could there be anything deleting or interfering with transients? Thanks!
Hi Rachel, Thanks for your reply. Is anyone else seeing this behaviour? I use the “Optimize Database after Deleting Revisions” to delete transients, but this is done manually (about once a week) so that shouldn’t be affecting it. Here’s an example of multiple notifications. I’ve just had an update notification for http://transitiontruro.org.uk for this plugin direct to Slack. If I log in to wpremote (which I use on all my sites) that generates another notification. Logging into the Transition Truro website generates a third, and going to plugins list from the admin menu another two. Same behaviour on http://gofa.org.uk Perhaps there are issues with Bulletproof Security Pro (also used on all my sites) though AFAIK this doesn’t remove transients, or with Comet Cache (previously known as Quick Cache/Zen Cache)? However, both the above sites are installed in subdirectories rather than the root of the domain, and a couple I’ve updated this morning that aren’t in sub directories only generate the one notification. I’ll see if this pattern remains the same as I update other sites. All the best, Rob Follett
I haven’t heard about this happening from anyone else. So this is happening on a multisite install and you’re getting the same notifications for each of your different sites on the network?
Not on a multisite install. On the two separate sites mentioned above (and also on a third) with multiple instances of the same update notification being posted to Slack for each site.
Hi! It should only send the update notifications once a week. Knowing when the last one was sent is dependent upon transients, though. Could there be anything deleting or interfering with transients? Thanks!
Hi Rachel, Thanks for your reply. Is anyone else seeing this behaviour? I use the “Optimize Database after Deleting Revisions” to delete transients, but this is done manually (about once a week) so that shouldn’t be affecting it. Here’s an example of multiple notifications. I’ve just had an update notification for http://transitiontruro.org.uk for this plugin direct to Slack. If I log in to wpremote (which I use on all my sites) that generates another notification. Logging into the Transition Truro website generates a third, and going to plugins list from the admin menu another two. Same behaviour on http://gofa.org.uk Perhaps there are issues with Bulletproof Security Pro (also used on all my sites) though AFAIK this doesn’t remove transients, or with Comet Cache (previously known as Quick Cache/Zen Cache)? However, both the above sites are installed in subdirectories rather than the root of the domain, and a couple I’ve updated this morning that aren’t in sub directories only generate the one notification. I’ll see if this pattern remains the same as I update other sites. All the best, Rob Follett
I haven’t heard about this happening from anyone else. So this is happening on a multisite install and you’re getting the same notifications for each of your different sites on the network?
Not on a multisite install. On the two separate sites mentioned above (and also on a third) with multiple instances of the same update notification being posted to Slack for each site.