test
This commit is contained in:
parent
ba6dc3e7ab
commit
7c512a5a2f
@ -353,7 +353,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
|||||||
} else {
|
} else {
|
||||||
err = setObjSubTypeId(objId, rule.MsgTypeID64)
|
err = setObjSubTypeId(objId, rule.MsgTypeID64)
|
||||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId")
|
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setObjSubTypeId")
|
||||||
if rule.BotCommand && m.Date.Add(time.Minute).After(time.Now().UTC()) {
|
if rule.BotCommand {
|
||||||
|
|
||||||
log.Printf("SQLIdentifyMsgWorker[" + strconv.Itoa(id) + "] : Timed out command\n")
|
log.Printf("SQLIdentifyMsgWorker[" + strconv.Itoa(id) + "] : Timed out command\n")
|
||||||
} else {
|
} else {
|
||||||
switch rule.MsgTypeID64 {
|
switch rule.MsgTypeID64 {
|
||||||
|
Loading…
Reference in New Issue
Block a user