mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
A while ago we increased group SMTP read and open timeouts to address issues we were seeing with Gmail sometimes giving really long timeouts for these values. The commit was: 3e639e4aa7bfad13cb7bf158e1e775179b00430e Now, we want to increase all SMTP read timeouts to 30s, since the 5s is too low sometimes, and the ruby Net::SMTP stdlib also defaults to 30s. Also, we want to slightly tweak the group smtp email job not to fail if the IncomingEmail log fails to create, or if a ReadTimeout is encountered, to avoid retrying the job in sidekiq again and sending the same email out.