From e01efe02f69e27b87a03057904e6611146d03a23 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Thu, 13 Apr 2017 22:43:29 +0100 Subject: [PATCH] Long snaphsot timeout increase Increase this to 90 minutes. The first time all the snapshots are rebuilt it may take a long time, but they all get scheduled together - and queued until concurrency limits allow it to be completed. currently the snapshot is made on initialisation, and only released when completed (which may be after the queue). so the last couple of snapshots were over-shooting the 1 hour. --- src/leveled_penciller.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leveled_penciller.erl b/src/leveled_penciller.erl index 9994991..f98fa1b 100644 --- a/src/leveled_penciller.erl +++ b/src/leveled_penciller.erl @@ -214,7 +214,7 @@ -define(COIN_SIDECOUNT, 5). -define(SLOW_FETCH, 20000). -define(ITERATOR_SCANWIDTH, 4). --define(SNAPSHOT_TIMEOUT_LONG, 3600). +-define(SNAPSHOT_TIMEOUT_LONG, 5400). -define(SNAPSHOT_TIMEOUT_SHORT, 600). -record(state, {manifest, % a manifest record from the leveled_manifest module