diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-12-31 18:37:29 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-12-31 18:37:29 +0800 |
commit | bd555551ce6d4b26cbce14b778b05d573b4aa4a4 (patch) | |
tree | 8185c6dccf18c45a5a59b8403e361bda805c93b3 /modules/mailer | |
parent | e1c5008238c144e9946398379a9e50fc8f284bec (diff) | |
download | gitea-bd555551ce6d4b26cbce14b778b05d573b4aa4a4.tar.gz gitea-bd555551ce6d4b26cbce14b778b05d573b4aa4a4.zip |
fix #801
Diffstat (limited to 'modules/mailer')
-rw-r--r-- | modules/mailer/mailer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mailer/mailer.go b/modules/mailer/mailer.go index e2d185d82d..6a23e5d09e 100644 --- a/modules/mailer/mailer.go +++ b/modules/mailer/mailer.go @@ -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() } |