Skip to content

Commit

Permalink
ssh: added message_queue_data,off_heap to spawn
Browse files Browse the repository at this point in the history
Seems to solve some test case problems when heavily loaded
  • Loading branch information
HansN committed Apr 12, 2017
1 parent 314c50e commit 43dfbf7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/ssh/src/ssh_connection_handler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@
) -> {ok, pid()}.
%% . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
start_link(Role, Socket, Options) ->
{ok, proc_lib:spawn_link(?MODULE, init_connection_handler, [Role, Socket, Options])}.
{ok, proc_lib:spawn_opt(?MODULE,
init_connection_handler,
[Role, Socket, Options],
[link, {message_queue_data,off_heap}]
)}.


%%--------------------------------------------------------------------
Expand Down

0 comments on commit 43dfbf7

Please sign in to comment.