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

sending notifications does not work via gRPC, got context canceled error, latest version? #790

Closed
arllen133 opened this issue Jun 28, 2024 · 4 comments · Fixed by #798
Closed

Comments

@arllen133
Copy link

	go func() {
		_, err := notify.SendNotification(ctx, &notification, s.cfg)
		if err != nil {
			logx.LogError.Error(err)
		}
	}()

ctx will canceled when rpc request return, cause goroutine finished

@appleboy
Copy link
Owner

I will take it.

@supersida159
Copy link

i have same issue so should i downgrade version ?

@arllen133
Copy link
Author

i have same issue so should i downgrade version ?

yes, or fork and fixed it

@appleboy
Copy link
Owner

I will test it asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants