Skip to content

Commit bbdfa8a

Browse files
author
xiaoliangyu
committed
delete test codes
feat: delete test codes Signed-off-by: xiaoliangyu <lyle@hdu.edu.cn>
1 parent 0009aff commit bbdfa8a

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

internal/pkg/constants/constants.go

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,9 @@ const (
1111
Unread3 MsgType = 3
1212
)
1313

14-
//const (
15-
// TimeUnread1 = 30 * time.Minute
16-
// TimeUnread2 = 30 * time.Minute
17-
// TimeUnread3 = 11 * time.Hour
18-
// CommentUnread = 1 * time.Hour
19-
//)
20-
2114
const (
22-
TimeUnread1 = 3 * time.Second
23-
TimeUnread2 = 3 * time.Second
24-
TimeUnread3 = 10 * time.Second
25-
CommentUnread = 20 * time.Second
15+
TimeUnread1 = 30 * time.Minute // PR/Issue 消息第一次发送消息后若未读,经过 TimeUnread1 后重发
16+
TimeUnread2 = 30 * time.Minute // PR/Issue 消息第二次发送消息后若未读,经过 TimeUnread2 后发送给上级
17+
TimeUnread3 = 11 * time.Hour // PR/Issue 消息第三次发送消息后若未读,经过 TimeUnread3 后抄送群聊
18+
CommentUnread = 1 * time.Hour // Comment 消息第一次发送后若未读,经过 CommentUnread 后抄送群聊
2619
)

0 commit comments

Comments
 (0)