Skip to content

Commit

Permalink
feat: set context when cronsumer message conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdulsametileri committed Dec 26, 2023
1 parent cab3410 commit b34a942
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func toMessage(message kcronsumer.Message) *Message {
msg.Value = message.Value
msg.Headers = headers
msg.Time = message.Time
msg.Context = context.Background()

return msg
}
Expand Down

0 comments on commit b34a942

Please sign in to comment.