diff options
author | Magnus Ahltorp <map@kth.se> | 2015-09-24 16:38:03 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2015-11-11 13:32:36 +0100 |
commit | 90760d10d14c11ee4c99826163c206bbf20a77f6 (patch) | |
tree | 5965c6bb108538507464d98595cc631dd9441aa7 /src/frontend.erl | |
parent | 346a3f973b828abc21cffb8a0a976daddcabe492 (diff) |
Change perm interface to be add/commit based
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; |