Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix warn: avoid copying lock values #771

Closed
slntopp opened this issue Mar 1, 2024 · 0 comments
Closed

fix warn: avoid copying lock values #771

slntopp opened this issue Mar 1, 2024 · 0 comments
Assignees
Labels
backend Backend related issues and fixes go Pull requests that update Go code

Comments

@slntopp
Copy link
Member

slntopp commented Mar 1, 2024

for event := range subscribe {
log.Info("Received event", zap.Any("Event", event))
err := stream.Send(&event)
if err != nil {
log.Error("Failed to send event", zap.Error(err))
}
}

@slntopp slntopp added backend Backend related issues and fixes go Pull requests that update Go code labels Mar 1, 2024
@slntopp slntopp self-assigned this Mar 12, 2024
@slntopp slntopp closed this as completed Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend related issues and fixes go Pull requests that update Go code
Projects
None yet
Development

No branches or pull requests

1 participant