Make compression algorithm an option
Compression can be switched between LZ4 and zlib (native). The setting to determine if compression should happen on receipt is now a macro definition in leveled_codec.
This commit is contained in:
parent
4c44e86eab
commit
61b7be5039
9 changed files with 474 additions and 264 deletions
|
@ -48,6 +48,7 @@
|
|||
source_inker :: pid() | undefined,
|
||||
reload_strategy = [] :: list(),
|
||||
waste_retention_period :: integer() | undefined,
|
||||
compression_method :: lz4|native,
|
||||
max_run_length}).
|
||||
|
||||
-record(penciller_options,
|
||||
|
@ -58,6 +59,7 @@
|
|||
bookies_mem :: tuple() | undefined,
|
||||
source_penciller :: pid() | undefined,
|
||||
snapshot_longrunning = true :: boolean(),
|
||||
compression_method :: lz4|native,
|
||||
levelzero_cointoss = false :: boolean()}).
|
||||
|
||||
-record(iclerk_options,
|
||||
|
@ -65,6 +67,7 @@
|
|||
max_run_length :: integer() | undefined,
|
||||
cdb_options = #cdb_options{} :: #cdb_options{},
|
||||
waste_retention_period :: integer() | undefined,
|
||||
compression_method :: lz4|native,
|
||||
reload_strategy = [] :: list()}).
|
||||
|
||||
-record(recent_aae, {filter :: whitelist|blacklist,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue