Change default DB ID
An undefined database id will use 65536 not 0 (as 0 is commonly used when defining database ids in Riak)
This commit is contained in:
parent
876a023db1
commit
b5859ddde9
1 changed files with 2 additions and 1 deletions
|
@ -115,6 +115,7 @@
|
||||||
-define(COMPRESSION_POINT, on_receipt).
|
-define(COMPRESSION_POINT, on_receipt).
|
||||||
-define(LOG_LEVEL, info).
|
-define(LOG_LEVEL, info).
|
||||||
-define(TIMING_SAMPLESIZE, 100).
|
-define(TIMING_SAMPLESIZE, 100).
|
||||||
|
-define(DEFAULT_DBID, 65536).
|
||||||
-define(TIMING_SAMPLECOUNTDOWN, 50000).
|
-define(TIMING_SAMPLECOUNTDOWN, 50000).
|
||||||
-define(DUMMY, dummy). % Dummy key used for mput operations
|
-define(DUMMY, dummy). % Dummy key used for mput operations
|
||||||
-define(MAX_KEYCHECK_FREQUENCY, 100).
|
-define(MAX_KEYCHECK_FREQUENCY, 100).
|
||||||
|
@ -140,7 +141,7 @@
|
||||||
{compression_point, ?COMPRESSION_POINT},
|
{compression_point, ?COMPRESSION_POINT},
|
||||||
{log_level, ?LOG_LEVEL},
|
{log_level, ?LOG_LEVEL},
|
||||||
{forced_logs, []},
|
{forced_logs, []},
|
||||||
{database_id, 0},
|
{database_id, ?DEFAULT_DBID},
|
||||||
{override_functions, []},
|
{override_functions, []},
|
||||||
{snapshot_timeout_short, ?SNAPTIMEOUT_SHORT},
|
{snapshot_timeout_short, ?SNAPTIMEOUT_SHORT},
|
||||||
{snapshot_timeout_long, ?SNAPTIMEOUT_LONG}]).
|
{snapshot_timeout_long, ?SNAPTIMEOUT_LONG}]).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue