Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/riakc.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
-define(PROTO_MAJOR, 1).
-define(PROTO_MINOR, 0).
-define(DEFAULT_PB_TIMEOUT, 60000).
-define(FIRST_RECONNECT_INTERVAL, 100).
-define(FIRST_RECONNECT_INTERVAL, 10).
-define(MAX_RECONNECT_INTERVAL, 30000).

-type client_option() :: queue_if_disconnected |
Expand Down
6 changes: 5 additions & 1 deletion src/riakc_obj.erl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
clear_links/1,
delete_links/2,
set_link/2,
add_link/2
add_link/2,
is_riakc_obj/1
]).
%% Internal library use only
-export([new_obj/4,index_id_to_bin/1]).
Expand Down Expand Up @@ -575,6 +576,9 @@ add_link(MD, [{T, IdList} | Rest]) ->
add_link(MD2, Rest)
end.

is_riakc_obj(#riakc_obj{}) -> true;
is_riakc_obj(_) -> false.

%% @doc INTERNAL USE ONLY. Set the contents of riakc_obj to the
%% {Metadata, Value} pairs in MVs. Normal clients should use the
%% set_update_[value|metadata]() + apply_updates() method for changing
Expand Down
Loading