Set store map size theshold to 0 ifdef TEST

This commit is contained in:
Ulf Norell 2020-02-03 11:39:48 +01:00
parent 059d114a06
commit 4228605470

View File

@ -25,7 +25,11 @@
%% Size in bytes of serialization of a map for which we turn it into a store
%% map. It's not worth turning small maps into store maps.
%% Under consensus!
-ifdef(TEST).
-define(STORE_MAP_THRESHOLD, 0).
-else.
-define(STORE_MAP_THRESHOLD, 100).
-endif.
-type fate_value() :: aeb_fate_data:fate_type().
-type fate_value_or_tombstone() :: fate_value() | ?FATE_MAP_TOMBSTONE.