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: initialize FCM client once. #804

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

hchienjo
Copy link
Contributor

The current implementation initializes a new FCM client for each push notification resulting in very high memory usage especially when there are many requests.

@hchienjo
Copy link
Contributor Author

@appleboy what do you think about this PR?

@appleboy appleboy merged commit 4745706 into appleboy:master Aug 20, 2024
2 of 3 checks passed
@appleboy
Copy link
Owner

@hchienjo Thanks.

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 this pull request may close these issues.

2 participants