Skip to content

Commit

Permalink
Add GC full sweep control
Browse files Browse the repository at this point in the history
  • Loading branch information
vkatsuba committed May 19, 2021
1 parent f00b191 commit fc12127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hacker_news_topstories.erl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
%%% ============================================================================

start_link() ->
Opts = [{hibernate_after, 5000}],
Opts = [{hibernate_after, 5000}, {spawn_opt,[{fullsweep_after, 0}]}],
gen_server:start_link({local, ?MODULE}, ?MODULE, [], Opts).

%%% ============================================================================
Expand Down

0 comments on commit fc12127

Please sign in to comment.