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

Switched to publish subscribe model for messages #208

Merged
merged 9 commits into from
Apr 3, 2024

Conversation

AlexanderWangY
Copy link
Collaborator

@AlexanderWangY AlexanderWangY commented Apr 2, 2024

Changed from message trigger to incoming messages. This allows us to scale to other features easier such as reaction or really anything else. The lag is not that much different and we will implement a greyed out pending message on the user side!

Unit tests will have to be updated to reflect these changes!

@AlexanderWangY AlexanderWangY merged commit 7b7b946 into ufosc:main Apr 3, 2024
2 checks passed
AlexanderWangY added a commit that referenced this pull request Apr 12, 2024
* Cronjob works now

* Made requested changes

* Switched to publish subscribe model for messages (#208)

* added pubsub for messages

* test

* finished pub sub

* testing empty secret

* Delete server/firebase-secrets.json

* added pubsub for messages

* test

* rebased

---------

Co-authored-by: AlexanderWangY <[email protected]>

* packages!

* Cronjob works now

* Made requested changes

* packages!

* Commented out deleter by default for testing purposes

* Removed interface imports

---------

Co-authored-by: Alexander Wang <[email protected]>
Co-authored-by: AlexanderWangY <[email protected]>
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.

1 participant