mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-08 04:45:40 +00:00
fix #801
This commit is contained in:
@@ -42,7 +42,7 @@ func (m Message) Content() string {
|
||||
var mailQueue chan *Message
|
||||
|
||||
func NewMailerContext() {
|
||||
mailQueue = make(chan *Message, setting.Cfg.MustInt("mailer", "SEND_BUFFER_LEN", 10))
|
||||
mailQueue = make(chan *Message, setting.Cfg.Section("mailer").Key("SEND_BUFFER_LEN").MustInt(10))
|
||||
go processMailQueue()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user