-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update erlang-client to have sync-create put timeout #207
update erlang-client to have sync-create put timeout #207
Conversation
012ce62
to
9517ac8
Compare
9517ac8
to
9284f7c
Compare
Needs a rebar.config tweak to use the 2.1.0.1 tag of riak_pb |
+1 bfc5623 |
Passes locally, see #204 (comment) |
…x-create update erlang-client to have sync-create put timeout Reviewed-by: aberghage
bfc5623
to
fbb7e26
Compare
n_val = NVal} | ||
}, | ||
call_infinity(Pid, {req, Req, Timeout}). | ||
Req = set_search_req_nval(NVal, Index, SchemaName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is kind of badly named... you're not sending a search request, you're sending an "index creation" request.
* better naming of timeout/nval fns
fbb7e26
to
fd20f92
Compare
Naming is much improved! |
Merging manually as per #204 (comment). |
…x-create update erlang-client to have sync-create put timeout
Related to RIAK-1547 (#402)... in order for the erlang-client to allow for a user-given timeout (or default) for synchronously creating a search index. Relies on basho/riak_pb#112.