-
- Downloads
Add SMTP timeout configuration options
In https://github.com/mikel/mail/pull/1427/files, mail v2.8.1 gem modified the default open and read timeout values to 5 seconds instead of the default `Net::SMTP` 30 and 60 seconds, respectively. Since upgrading to GitLab 15.10.3, some users have observed receiving `Net::ReadTimeout` errors. This commit restores the original defaults and allows users to configure the timeouts. Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/410336 Changelog: added
Showing
- files/gitlab-cookbooks/gitlab/attributes/default.rb 2 additions, 0 deletionsfiles/gitlab-cookbooks/gitlab/attributes/default.rb
- files/gitlab-cookbooks/gitlab/templates/default/smtp_settings.rb.erb 1 addition, 1 deletion...b-cookbooks/gitlab/templates/default/smtp_settings.rb.erb
- spec/chef/cookbooks/gitlab/recipes/gitlab-rails_spec.rb 50 additions, 0 deletionsspec/chef/cookbooks/gitlab/recipes/gitlab-rails_spec.rb
Please register or sign in to comment