mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
All configuration reload-able
This commit is contained in:
@@ -40,7 +40,7 @@ func (m Message) Content() string {
|
||||
|
||||
var mailQueue chan *Message
|
||||
|
||||
func init() {
|
||||
func NewMailerContext() {
|
||||
mailQueue = make(chan *Message, base.Cfg.MustInt("mailer", "SEND_BUFFER_LEN", 10))
|
||||
go processMailQueue()
|
||||
}
|
||||
|
Reference in New Issue
Block a user