diff options
Diffstat (limited to 'src/frontend.erl')
-rw-r--r-- | src/frontend.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/frontend.erl b/src/frontend.erl index 5b9157b..bce26b7 100644 --- a/src/frontend.erl +++ b/src/frontend.erl @@ -222,9 +222,7 @@ check_entries_onechunk(Start, End) -> end, lists:zip(Entries, lists:seq(Start, End))), case check_entries_int(Entries, Start, End) of [] -> - lists:foreach(fun ({Hash, Index}) -> - ok = db:indexforhash_sync(Hash, Index) - end, lists:zip(Entries, lists:seq(Start, End))), + ok = db:indexforhash_dosync(), case Entries of [] -> none; |