Created
August 7, 2013 20:47
-
-
Save bowrocker/6178490 to your computer and use it in GitHub Desktop.
basho_bench broken config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{mode, max}. | |
{duration, 10}. | |
{concurrent, 1}. | |
{riakclient_nodes, ['[[email protected]](mailto:[email protected])']}. | |
{riakclient_cookie, riak}. | |
{driver, basho_bench_driver_riakc_pb}. | |
{key_generator, {int_to_bin, {uniform_int, 10000}}}. | |
{value_generator, {fixed_bin, 10000}}. | |
{riakc_pb_ips, [{127,0,0,1}]}. | |
{riakc_pb_port, 10017}. | |
{riakc_pb_replies, 1}. | |
{operations, [{get, 1}, {update, 1}]}. | |
%% Use {auto_reconnect, false} to get "old" behavior (prior to April 2013). | |
%% See deps/riakc/src/riakc_pb_socket.erl for all valid socket options. | |
{pb_connect_options, [{auto_reconnect, true}]}. | |
%% Overrides for the PB client's default 60 second timeout, on a | |
%% per-type-of-operation basis. All timeout units are specified in | |
%% milliseconds. The pb_timeout_general config item provides a | |
%% default timeout if the read/write/listkeys/mapreduce timeout is not | |
%% specified. | |
{pb_timeout_general, 30000}. | |
{pb_timeout_read, 5000}. | |
{pb_timeout_write, 5000}. | |
{pb_timeout_listkeys, 50000}. | |
%% The general timeout will be used because this specific item is commented: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment