Skip to content

Commit

Permalink
correct options for GC
Browse files Browse the repository at this point in the history
  • Loading branch information
Cliff Moon committed Apr 29, 2009
1 parent 3b54e0a commit 1c9a48d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elibs/dmerkle.erl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ open(FileName) ->
open(FileName, undefined).

open(FileName, BlockSize) ->
gen_server:start_link(?MODULE, {FileName,BlockSize}, [{spawn_opt, [fullsweep_after, 10]}]).
gen_server:start_link(?MODULE, {FileName,BlockSize}, [{spawn_opt, [{fullsweep_after, 10}]}]).

count_trace(Pid, Key) ->
gen_server:call(Pid, {count_trace, Key}).
Expand Down
2 changes: 1 addition & 1 deletion elibs/storage_server.erl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
%% @end
%%--------------------------------------------------------------------
start_link(StorageModule, DbKey, Name, Min, Max, BlockSize) when is_list(StorageModule) ->
gen_server:start_link({local, Name}, ?MODULE, {list_to_atom(StorageModule),DbKey,Name,Min,Max, BlockSize}, [{spawn_opt, [fullsweep_after, 10]}]);
gen_server:start_link({local, Name}, ?MODULE, {list_to_atom(StorageModule),DbKey,Name,Min,Max, BlockSize}, [{spawn_opt, [{fullsweep_after, 10}]}]);

start_link(StorageModule, DbKey, Name, Min, Max, BlockSize) ->
gen_server:start_link({local, Name}, ?MODULE, {StorageModule,DbKey,Name,Min,Max, BlockSize}, []).
Expand Down

0 comments on commit 1c9a48d

Please sign in to comment.