Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 81eeeeb

Browse files
committed
控制速度由60秒改为2秒,避免发不完
1 parent fc2260c commit 81eeeeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logic/email.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func (self EmailLogic) EmailNotice() {
180180
self.SendMail("每周精选", content, []string{user.Email})
181181

182182
// 控制发信速度
183-
time.Sleep(60 * time.Second)
183+
time.Sleep(2 * time.Second)
184184
}
185185

186186
users = make([]*model.User, 0)

0 commit comments

Comments
 (0)