Skip to content

Commit

Permalink
Made .app file dynamically generated.
Browse files Browse the repository at this point in the history
  • Loading branch information
lordnull committed Sep 20, 2013
1 parent 294082b commit 68ede20
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 120 deletions.
120 changes: 0 additions & 120 deletions ebin/riak_repl.app

This file was deleted.

47 changes: 47 additions & 0 deletions src/riak_repl.app.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
% -*- mode: erlang -*-
{application,
riak_repl,
[{description, "Enterprise replication for Riak"},
{id, "riak_repl"},
{vsn, "1.4.2"},
{applications, [kernel,
stdlib,
sasl,
crypto,
ssl,
riak_core,
riak_kv,
ranch]},
{registered, [riak_repl_connector_sup,
riak_repl_leader,
riak_repl_stats,
riak_rep_sup]},
{mod, {riak_repl_app, []}},
{env, [
%% milliseconds to wait after checking all listeners
{client_retry_timeout, 30000},
%% milliseconds to wait for successfull connect
{client_connect_timeout, 15000},

{fullsync_on_connect, true},
% minutes
{fullsync_interval, 360},
{data_root, "data/riak_repl"},
{merkle_bufsize, 1048576},
%% bytes
{server_max_pending, 5},
{client_ack_frequency, 5},
{queue_size, 104857600},
{fullsync_strategies, [keylist, syncv1]},
{min_get_workers, 5},
{max_get_workers, 100},
{min_put_workers, 5},
{max_put_workers, 100},
%% whether to issue gets directly against the vnode
{vnode_gets, true},
%% How many fullsync diff objects to send before needing an
%% ACK from the client. Setting this too high will clog your
%% TCP buffers.
{diff_batch_size, 100}
]}
]}.

0 comments on commit 68ede20

Please sign in to comment.