-
-
Notifications
You must be signed in to change notification settings - Fork 866
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
Add local_subscribers field to CommunityAggregates. Fixes #4144 #4166
Add local_subscribers field to CommunityAggregates. Fixes #4144 #4166
Conversation
I couldn't get the local_subscriber tests right. If you have any suggestions where to do it, I can try. |
Pls some feedbacks lol |
migrations/2023-11-15-200123_community_aggregates_add_local_subscribers/up.sql
Outdated
Show resolved
Hide resolved
migrations/2023-11-15-200123_community_aggregates_add_local_subscribers/up.sql
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above. LMK if you need any help with this.
I won't be able to complete this right now. Closing it to not keep stale. |
Wait I've read this more carefully and it looks brilliant! It deletes follows before deleting person, which is better than duplicating same trigger. Absolutely better than my first solution idea 👌 |
Federation tests work when I test them locally with yalc, so there is no problem with the tests right now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've deployed this now too, so you can add it to the package.json
:
lemmy-js-client: 0.19.2-alpha.2
migrations/2023-12-12-150828_community_aggregates_add_local_subscribers/up.sql
Outdated
Show resolved
Hide resolved
…b.com:ismailkarsli/lemmy into add_local_subscribers_to_community_aggregates
Even though follow tests passed, federation tests gave the error below. It could be temporary or maybe about new
|
And yeah, it passed today without any changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx!
Lets have @phiresky take a look also.
I gave it a try.