summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frontend.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend.erl b/src/frontend.erl
index 707af0c..04e307c 100644
--- a/src/frontend.erl
+++ b/src/frontend.erl
@@ -204,7 +204,7 @@ check_entries(Treesize) ->
check_entries_chunked(Start, End) ->
lager:debug("Checking entries ~p-~p", [Start, End]),
- Chunksize = 1,
+ Chunksize = application:get_env(plop, check_entries_chunksize, 1000),
PartialEnd = min(Start + Chunksize - 1, End),
case check_entries_onechunk(Start, PartialEnd) of
[] when PartialEnd == End ->