refactor follows and update_nofications indexing
Compare changes
- Krzysztof Leśniak authored
+ 169
− 9
@@ -22,7 +22,12 @@ class NewFollowAction(enum.IntEnum):
@@ -33,6 +38,12 @@ class NewFollow(DbAdapterHolder):
@@ -55,12 +66,12 @@ class NewFollow(DbAdapterHolder):
@@ -100,7 +111,7 @@ class NewFollow(DbAdapterHolder):
@@ -126,6 +137,18 @@ class NewFollow(DbAdapterHolder):
@@ -134,7 +157,7 @@ class NewFollow(DbAdapterHolder):
if cls.mute_items_to_flush or cls.blacklisted_items_to_flush or cls.follow_muted_items_to_flush or cls.follow_blacklisted_items_to_flush or cls.follow_items_to_flush or cls.reset_blacklists_to_flush or cls.reset_followinglists_to_flush or cls.reset_mutedlists_to_flush or cls.reset_follow_blacklists_to_flush or cls.reset_follow_mutedlists_to_flush or cls.reset_all_lists_to_flush:
@@ -272,5 +295,142 @@ class NewFollow(DbAdapterHolder):