Make it much less likely to open up a new btree.
This commit is contained in:
parent
aa0fa64928
commit
e10208462b
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ count_dicts(Open) ->
|
|||
|
||||
command(#state { open = Open} = S) ->
|
||||
frequency(
|
||||
[ {100, {call, ?SERVER, open, [g_btree_name()]}} ] ++
|
||||
[ {20, {call, ?SERVER, open, [g_btree_name()]}} ] ++
|
||||
[ {2000, {call, ?SERVER, put, cmd_put_args(S)}}
|
||||
|| dict:size(Open) > 0] ++
|
||||
[ {1500, {call, ?SERVER, lookup_exist, cmd_lookup_args(S)}}
|
||||
|
|
Loading…
Reference in a new issue