Skip to content

Commit

Permalink
add device cache
Browse files Browse the repository at this point in the history
  • Loading branch information
lsxredrain committed Jul 20, 2021
1 parent 73cf1f9 commit a1bdeec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dgiot/src/storage/dgiot_mnesia.erl
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ search() ->
{_, K, V} = X,
#{K => V}
end,
search(Fun,#{<<"start">> => 0, <<"limit">> => 5}).
dgiot_mnesia:search(Fun,#{<<"start">> => 0, <<"limit">> => 5}).

search(Fun,Page) ->
search(?MNESIA_TAB, Fun, Page).
Expand Down

0 comments on commit a1bdeec

Please sign in to comment.