We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0009aff commit bbdfa8aCopy full SHA for bbdfa8a
internal/pkg/constants/constants.go
@@ -11,16 +11,9 @@ const (
11
Unread3 MsgType = 3
12
)
13
14
-//const (
15
-// TimeUnread1 = 30 * time.Minute
16
-// TimeUnread2 = 30 * time.Minute
17
-// TimeUnread3 = 11 * time.Hour
18
-// CommentUnread = 1 * time.Hour
19
-//)
20
-
21
const (
22
- TimeUnread1 = 3 * time.Second
23
- TimeUnread2 = 3 * time.Second
24
- TimeUnread3 = 10 * time.Second
25
- CommentUnread = 20 * time.Second
+ TimeUnread1 = 30 * time.Minute // PR/Issue 消息第一次发送消息后若未读,经过 TimeUnread1 后重发
+ TimeUnread2 = 30 * time.Minute // PR/Issue 消息第二次发送消息后若未读,经过 TimeUnread2 后发送给上级
+ TimeUnread3 = 11 * time.Hour // PR/Issue 消息第三次发送消息后若未读,经过 TimeUnread3 后抄送群聊
+ CommentUnread = 1 * time.Hour // Comment 消息第一次发送后若未读,经过 CommentUnread 后抄送群聊
26
0 commit comments