-
Notifications
You must be signed in to change notification settings - Fork 392
/
riak_core.app
112 lines (103 loc) · 3.32 KB
/
riak_core.app
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 et
{application, riak_core,
[
{description, "Riak Core"},
{vsn, "1.0.3"},
{modules, [
app_helper,
bloom,
chash,
gen_nb_server,
gen_server2,
json_pp,
merkerl,
priority_queue,
process_proxy,
riak_core_gossip_legacy,
riak_core,
riak_core_apl,
riak_core_app,
riak_core_bucket,
riak_core_cinfo_core,
riak_core_claim,
riak_core_new_claim,
riak_core_config,
riak_core_console,
riak_core_coverage_fsm,
riak_core_coverage_plan,
riak_core_eventhandler_guard,
riak_core_eventhandler_sup,
riak_core_gossip,
riak_core_handoff_listener,
riak_core_handoff_manager,
riak_core_handoff_receiver,
riak_core_handoff_sender,
riak_core_nodeid,
riak_core_node_watcher,
riak_core_node_watcher_events,
riak_core_pb,
riak_core_ring,
riak_core_ring_events,
riak_core_ring_handler,
riak_core_ring_manager,
riak_core_ring_util,
riak_core_stat,
riak_core_status,
riak_core_sup,
riak_core_sysmon_handler,
riak_core_sysmon_minder,
riak_core_tracer,
riak_core_test_util,
riak_core_util,
riak_core_vnode,
riak_core_vnode_manager,
riak_core_vnode_master,
riak_core_vnode_sup,
riak_core_vnode_worker,
riak_core_vnode_worker_pool,
riak_core_web,
riak_core_wm_urlmap,
slide,
spiraltime,
supervisor_pre_r14b04,
vclock
]},
{registered, []},
{applications, [
kernel,
stdlib,
sasl,
crypto,
riak_sysmon,
webmachine,
os_mon
]},
{mod, { riak_core_app, []}},
{env, [
%% Cluster name
{cluster_name, "default"},
%% Default location of ringstate
{ring_state_dir, "data/ring"},
%% Default ring creation size. Make sure it is a power of 2,
%% e.g. 16, 32, 64, 128, 256, 512 etc
{ring_creation_size, 64},
%% Default gossip interval (milliseconds)
{gossip_interval, 60000},
%% Target N value
{target_n_val, 4},
%% Default claims functions
{wants_claim_fun, {riak_core_claim, default_wants_claim}},
{choose_claim_fun, {riak_core_claim, default_choose_claim}},
%% Vnode inactivity timeout (how often to check if fallback vnodes
%% should return their data) in ms.
{vnode_inactivity_timeout, 60000},
%% Number of VNodes allowed to do handoff concurrently.
{handoff_concurrency, 1},
%% Disable Nagle on HTTP sockets
{disable_http_nagle, false},
%% Handoff IP/port
{handoff_port, 8099},
{handoff_ip, "0.0.0.0"}
]}
]}.