Make snapshot timeout configurable

Also increase defaults.  In riak snapshots may be used to fold over all objects, and with delays at the receiving end, this could take significant time
This commit is contained in:
Martin Sumner 2018-12-14 11:23:04 +00:00
parent b344b7d827
commit 8bf36214e1
3 changed files with 46 additions and 19 deletions

View file

@ -78,7 +78,9 @@
source_penciller :: pid() | undefined,
snapshot_longrunning = true :: boolean(),
compression_method = native :: lz4|native,
levelzero_cointoss = false :: boolean()}).
levelzero_cointoss = false :: boolean(),
snaptimeout_short :: pos_integer() | undefined,
snaptimeout_long :: pos_integer() | undefined}).
-record(iclerk_options,
{inker :: pid() | undefined,