From b4283d8c417c4f3936c32bf8d25dfaf0b202c5ea Mon Sep 17 00:00:00 2001
From: Bartek Wrona <wrona@syncad.com>
Date: Tue, 8 Sep 2020 17:07:25 +0200
Subject: [PATCH] Follow data shall be flushed also from Blocks.process level
 which is used at regular block listening path.

---
 hive/indexer/blocks.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hive/indexer/blocks.py b/hive/indexer/blocks.py
index e114baa4c..1baa37947 100644
--- a/hive/indexer/blocks.py
+++ b/hive/indexer/blocks.py
@@ -63,6 +63,7 @@ class Blocks:
         Votes.flush()
         Posts.flush()
         Reblog.flush()
+        Follow.flush(trx=False)
         block_num = int(block['block_id'][:8], base=16)
         cls.on_live_blocks_processed( block_num, block_num )
         time_end = perf_counter()
-- 
GitLab