New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Communications with a large number of recipients time out and don't send. #5651
Comments
@tikool17 Rock is all about community. If possible, please include your name in your GitHub account. |
Hey @tikool17, thanks for reporting. Are you able to consistently reproduce this issue? We've spent a bit of time attempting to reproduce while sending to 100k+ recipients, without success thus far. Are there any additional "Steps to Reproduce" you can provide? |
@jasonhendee thanks for looking into this. I don't have definite steps to reproduce other than a large number of recepients. But if it helps we do use Communication lists, segments and prevent duplicates often. See below on some typical segment setup which I could see that would add some extra strain on the system to process. |
Thanks, @tikool17; this is very helpful. If you were to send the above communication, would it fail every time? Or does it seem to be hit-or-miss? |
@tikool17, we've addressed this issue as follows:
Furthermore, we have plans to rewrite the Communication Entry Wizard block in Obsidian soon, so we're hesitant to spend too much more time addressing some of the known super edge case performance issues that still exist within the legacy version of this block. Please feel free to reopen this issue if you find the original issues still present themselves within your environment after updating to Rock v16.2. |
Description
Communication Timeout error in the exception log for communications that have a large number of recipients.
Example https://staff.freechapel.org/communications/295239
Recipients: 18425
This is an email bulk communication using the "Default" template.
Navigating from Editor to Confirmation screen takes 26 seconds.
Actual Behavior
Depending on how the communication is being sent one of two errors are logged.
Sent by the Send Communications Job
Sent by the Bus
It appears the timeout occurs while checking to see if all of the communication members are in the recipient list here: https://github.com/SparkDevNetwork/Rock/blob/33b0d328a3b7835613afeede9af57b206f6125f3/Rock/Model/Communication/Communication/Communication.Logic.cs#L350https://github.com/SparkDevNetwork/Rock/blob/33b0d328a3b7835613afeede9af57b206f6125f3/Rock/Model/Communication/Communication/Communication.Logic.cs#L350
Expected Behavior
The communication is sent successfully.
Steps to Reproduce
-Create a communication with a large number of recipients.
Issue Confirmation
Rock Version
16
Client Culture Setting
en-US
The text was updated successfully, but these errors were encountered: