mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +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()
|
||||
split := 1000
|
||||
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))
|
||||
for i := 0; i < len(ccMsg)/split; i++ {
|
||||
//log.Debug()
|
||||
|
Loading…
x
Reference in New Issue
Block a user