Skip to content

perf: redis batch delete msgs (#1395) #1148

perf: redis batch delete msgs (#1395)

perf: redis batch delete msgs (#1395) #1148

Triggered via push November 15, 2023 17:14
Status Failure
Total duration 32s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: internal/api/msg.go#L292
shadow: declaration of "err" shadows declaration at line 287 (govet)
lint: internal/msggateway/client.go#L79
func `newClient` is unused (unused)
lint: internal/msggateway/long_conn.go#L106
S1008: should use 'return d.conn == nil' instead of 'if d.conn != nil { return false }; return true' (gosimple)
lint: internal/msggateway/user_map.go#L61
copylocks: call of log.ZDebug copies lock value: github.com/openimsdk/open-im-server/v3/internal/msggateway.Client contains sync/atomic.Bool contains sync/atomic.noCopy (govet)
lint: internal/msggateway/user_map.go#L66
copylocks: call of log.ZDebug copies lock value: github.com/openimsdk/open-im-server/v3/internal/msggateway.Client contains sync/atomic.Bool contains sync/atomic.noCopy (govet)
lint: internal/msgtransfer/init.go#L54
shadow: declaration of "err" shadows declaration at line 50 (govet)
lint: internal/msgtransfer/init.go#L65
shadow: declaration of "err" shadows declaration at line 50 (govet)
lint: internal/msgtransfer/online_history_msg_handler.go#L112
S1000: should use for range instead of for { select {} } (gosimple)
lint: internal/msgtransfer/online_history_msg_handler.go#L255
Error return value of `och.msgDatabase.MsgToMongoMQ` is not checked (errcheck)
lint: internal/msgtransfer/online_history_msg_handler.go#L266
Error return value of `och.msgDatabase.MsgToPushMQ` is not checked (errcheck)