Skip to content
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

New Incident with large subscribers - not done in background #4410

Open
Artic6 opened this issue Jul 5, 2024 · 6 comments
Open

New Incident with large subscribers - not done in background #4410

Artic6 opened this issue Jul 5, 2024 · 6 comments

Comments

@Artic6
Copy link

Artic6 commented Jul 5, 2024

If you have a large number of subscribers after you update the incident to goto them all, the script does this live not in the background which means after you click the "new incident" button you get a very long pause while the script sends all the emails and the script them waits for all the emails to be sent.

Can this not be done in the background as I have had to increase the PHP script timeout to 800 seconds to see if that will allow all the messages to be sent ?

3 minutes 30 seconds in we have only sent 3760 messages out of 10,240 - what is worse is this also needs to send a component update then the incdient email

However I cannot have people waiting 20 minutes after clicking the "new incident" button to get the update all done, then another 20 minutes for each future update.

I have noticed you have large companys using this Cachet - if that is the case have they are repoted waiting upwards to 20 minutes to get a "single" update notification sent ?

@Artic6 Artic6 changed the title New Incident with alrge subscribers - not done in background New Incident with large subscribers - not done in background Jul 5, 2024
@Artic6
Copy link
Author

Artic6 commented Jul 5, 2024

I set the PHP timeout to 800 seconds or 13.3 minutes and we send 10,201 messages (as it only uses one connection to send them)

However, in that time as we have to send the "component update" then the "incident email" to 10,201 subscribers which means a total of 20,402 messages - based on that a single incident update would take 30 minutes send.

@Artic6
Copy link
Author

Artic6 commented Jul 5, 2024

Can we use more than one SMTP session at a time - is that a variabel you can configure ?

@Artic6
Copy link
Author

Artic6 commented Jul 5, 2024

if #4400 was fixed in the actual code then this might work

@Artic6
Copy link
Author

Artic6 commented Jul 5, 2024

I’ve had to use different repository however background processing of emails would be appreciated

@shumbashi
Copy link

@Artic6 can you tell us which repository you used? I'm struggling with the email issues as well

@Artic6
Copy link
Author

Artic6 commented Aug 9, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants