aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2010-11-29 15:16:02 +0100
committerHans Bolinder <[email protected]>2010-11-29 15:16:02 +0100
commita2a191f4cf18979920964f7bf81b4eb10c28ae3b (patch)
tree350ce939ad30e97161d25b1f2bad10f22b1c01e3 /lib/stdlib/src
parenta583c16d79b3a5299ce1b5482f1fb0a88d845a51 (diff)
downloadotp-a2a191f4cf18979920964f7bf81b4eb10c28ae3b.tar.gz
otp-a2a191f4cf18979920964f7bf81b4eb10c28ae3b.tar.bz2
otp-a2a191f4cf18979920964f7bf81b4eb10c28ae3b.zip
Increase default maximum number of slots of Dets tables
The default maximum number of slots of Dets tables has been changed to be equal to the maximum number of slots.
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/dets.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/dets.hrl b/lib/stdlib/src/dets.hrl
index 6e59770753..fbffc9d008 100644
--- a/lib/stdlib/src/dets.hrl
+++ b/lib/stdlib/src/dets.hrl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2001-2009. All Rights Reserved.
+%% Copyright Ericsson AB 2001-2010. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -18,7 +18,7 @@
%%
-define(DEFAULT_MIN_NO_SLOTS, 256).
--define(DEFAULT_MAX_NO_SLOTS, 2*1024*1024).
+-define(DEFAULT_MAX_NO_SLOTS, 32*1024*1024).
-define(DEFAULT_AUTOSAVE, 3). % minutes
-define(DEFAULT_CACHE, {3000, 14000}). % {delay,size} in {milliseconds,bytes}