Skip to content

Comments

fix: initialize FCM client once.#804

Merged
appleboy merged 1 commit intoappleboy:masterfrom
hchienjo:fix/initialize-fcm-client-once
Aug 20, 2024
Merged

fix: initialize FCM client once.#804
appleboy merged 1 commit intoappleboy:masterfrom
hchienjo:fix/initialize-fcm-client-once

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
@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