mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 12:22:11 +00:00
All configuration reload-able
This commit is contained in:
parent
369ddf76a8
commit
f6596f11c4
13 changed files with 88 additions and 45 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue