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

Reduce cost cloud functions #520

Merged
merged 4 commits into from
Sep 10, 2024
Merged

Reduce cost cloud functions #520

merged 4 commits into from
Sep 10, 2024

Conversation

JasonIsAzn
Copy link
Member

@JasonIsAzn JasonIsAzn commented Sep 9, 2024

Overview

The goal of this is to do some basic anaylsis to see if these two things are driving cost:

  • Remove black list restriction check
  • Increase interval of event notification checks

Additional

Do no remove the actual cloud function for black list check. Some user will have older version

@JasonIsAzn JasonIsAzn added this to the Sprint 11: Summer milestone Sep 9, 2024
@JasonIsAzn JasonIsAzn self-assigned this Sep 9, 2024
@JasonIsAzn JasonIsAzn linked an issue Sep 9, 2024 that may be closed by this pull request
2 tasks
@JasonIsAzn JasonIsAzn marked this pull request as draft September 10, 2024 18:21
@JasonIsAzn JasonIsAzn marked this pull request as ready for review September 10, 2024 18:29
Copy link
Collaborator

@LucientZ LucientZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably good to do away with this system anyways and use built-in Firebase moderation abilities with the Admin SDK in Cloud Functions.

For reference: https://firebase.google.com/docs/auth/admin/manage-users#update_a_user

@JasonIsAzn JasonIsAzn merged commit 207ae47 into dev Sep 10, 2024
1 check passed
@JasonIsAzn JasonIsAzn deleted the reduce-cost-cloud-functions branch September 10, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In-Review
Development

Successfully merging this pull request may close these issues.

Attempt to reduce cost with cloud functions calls
2 participants