Add new snapshot timeout to multi-backend
This commit is contained in:
parent
e6d868f8cd
commit
5b578ea2bb
1 changed files with 19 additions and 0 deletions
|
@ -125,6 +125,25 @@
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
|
|
||||||
|
%% @doc Snapshot timeout (short)
|
||||||
|
%% Maximum expected time for an index query. A query which is taking longer
|
||||||
|
%% than this may fail as it will be released - potentially allowing for some
|
||||||
|
%% file processes to delete. Timeout is in seconds.
|
||||||
|
{mapping, "multi_backend.$name.leveled.snapshot_timeout_short", "riak_kv.multi_backend", [
|
||||||
|
{default, 1800},
|
||||||
|
{datatype, integer},
|
||||||
|
hidden
|
||||||
|
]}.
|
||||||
|
|
||||||
|
%% @doc Snapshot timeout (long)
|
||||||
|
%% Maximum expected time for any othe rfold. A fold which is taking longer
|
||||||
|
%% than this may fail as it will be released - potentially allowing for some
|
||||||
|
%% file processes to delete. Timeout is in seconds.
|
||||||
|
{mapping, "multi_backend.$name.leveled.snapshot_timeout_long", "riak_kv.multi_backend", [
|
||||||
|
{default, 86400},
|
||||||
|
{datatype, integer},
|
||||||
|
hidden
|
||||||
|
]}.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue