diff options
author | Magnus Ahltorp <map@kth.se> | 2015-11-19 15:37:44 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2015-12-09 14:46:37 +0100 |
commit | fb78a6a883ad7b45c7a0dc8dc550469eaff1e1a0 (patch) | |
tree | 37f56a2309d57f2cbc8b1a17041259d9c31fcd7a /src | |
parent | 71baee406c023a833b97f2c8e62c2648009dca68 (diff) |
Make check_entries chunk size configurable and bump default to 1000
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend.erl | 2 |
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 -> |