diff --git a/hive/indexer/blocks.py b/hive/indexer/blocks.py index a030a0febce5c8613e7d70ecbb74fa278610b2f5..8f2f89ef2d8b68ce0c1447357709184b2e7686e5 100644 --- a/hive/indexer/blocks.py +++ b/hive/indexer/blocks.py @@ -64,6 +64,8 @@ class Blocks: PostDataCache.flush() Tags.flush() Votes.flush() + cls._flush_blocks() + Posts.flush() time_end = perf_counter() log.info("[PROCESS BLOCK] %fs", time_end - time_start) return ret @@ -90,6 +92,7 @@ class Blocks: Votes.flush() cls._flush_blocks() Follow.flush(trx=False) + Posts.flush() DB.query("COMMIT") time_end = perf_counter()