Commit a4969f6a authored by Marcin's avatar Marcin
Browse files

significant speeds up metadata update during live sync

We discovered that during live sync updating metada caused a memory leak. We found that Postgres has a bug with JIT inlining like here https://www.postgresql.org/message-id/18074-9f187d80c23e0fd9@postgresql.org and reported by many other db users. After research it turned out that disabling jit fo metadata update gives positive effects: memory becomes stable and blocks are processed much faster. On the chain head (78m) updating metadata becomes faster from ~800ms to 1ms.
parent f1086e50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment