1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Pools limit concurrent nums

This commit is contained in:
Unknown
2014-03-19 21:05:48 -04:00
parent 601c10309d
commit 6f68620860
8 changed files with 43 additions and 25 deletions

View File

@@ -62,8 +62,7 @@ func SendRegisterMail(r *middleware.Render, user *models.User) {
msg := NewMailMessage([]string{user.Email}, subject, body)
msg.Info = fmt.Sprintf("UID: %d, send register mail", user.Id)
// async send mail
SendAsync(msg)
SendAsync(&msg)
}
// Send email verify active email.
@@ -83,6 +82,5 @@ func SendActiveMail(r *middleware.Render, user *models.User) {
msg := NewMailMessage([]string{user.Email}, subject, body)
msg.Info = fmt.Sprintf("UID: %d, send email verify mail", user.Id)
// async send mail
SendAsync(msg)
SendAsync(&msg)
}