From 0291b1a0d6e07b48e474218884c6917a34f93ef3 Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Thu, 21 Jun 2018 18:30:08 +0200
Subject: [PATCH] [enh] sync: disable blocks archieving + data commit

---
 app/lib/computation/QuickSync.ts | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/app/lib/computation/QuickSync.ts b/app/lib/computation/QuickSync.ts
index c94868a2f..2f5504ad6 100644
--- a/app/lib/computation/QuickSync.ts
+++ b/app/lib/computation/QuickSync.ts
@@ -244,7 +244,6 @@ export class QuickSynchronizer {
 
           // Process triming & archiving continuously to avoid super long ending of sync
           await this.dal.trimIndexes(sync_bindex[0].number);
-          await this.dal.archiveBlocks()
         }
       } else {
 
@@ -286,7 +285,5 @@ export class QuickSynchronizer {
         // sync_currConf = {};
       }
     }
-
-    await this.dal.loki.commitData()
   }
 }
-- 
GitLab