Something went wrong on our end
Draft: refactor follows and update_nofications indexing
Compare changes
Files
12- Krzysztof Leśniak authored
In previous commit vote notifications were changed to be inserted after processing each block. But in massive sync rshares for posts were calculated only at the end of massive sync. This resulted in vote notifications to not be inserted, because score were always calculated as 0. To fix this, calculate rshares for modified posts after processing each block. `hive_posts` are now modified in posts and votes indexer. An advisory lock was added to synchronise, because deadlock was detected by postgres failing transactions.
@@ -11,34 +10,7 @@ $BODY$
@@ -60,12 +32,7 @@ ELSE
@@ -76,7 +43,6 @@ ELSE