Skip to content
Snippets Groups Projects
Commit 99d85611 authored by Mariusz Trela's avatar Mariusz Trela Committed by Mariusz Trela
Browse files

Added `Posts.flush()`

parent 17329f3b
No related branches found
No related tags found
4 merge requests!456Release candidate v1 24,!230Setup monitoring with pghero,!135Enable postgres monitoring on CI server,!61Issue #47 - test database_api get_payout_stats fail
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment