mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 02:16:16 +08:00
ctx
This commit is contained in:
parent
e283e66f00
commit
c3b16aa678
@ -286,7 +286,7 @@ func (och *OnlineHistoryRedisConsumerHandler) ConsumeClaim(sess sarama.ConsumerG
|
|||||||
rwLock.Unlock()
|
rwLock.Unlock()
|
||||||
split := 1000
|
split := 1000
|
||||||
ctx := mcontext.NewCtx(utils.OperationIDGenerator())
|
ctx := mcontext.NewCtx(utils.OperationIDGenerator())
|
||||||
ctx = mcontext.WithTriggerIDContext(context.Background(), utils.OperationIDGenerator())
|
ctx = mcontext.WithTriggerIDContext(ctx, utils.OperationIDGenerator())
|
||||||
log.ZDebug(ctx, "timer trigger msg consumer start", "length", len(ccMsg))
|
log.ZDebug(ctx, "timer trigger msg consumer start", "length", len(ccMsg))
|
||||||
for i := 0; i < len(ccMsg)/split; i++ {
|
for i := 0; i < len(ccMsg)/split; i++ {
|
||||||
//log.Debug()
|
//log.Debug()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user