aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-04-12 12:32:32 +0200
committerHans Nilsson <[email protected]>2017-04-12 12:32:32 +0200
commit188b7883723a87cacf449f44afe1c362835e203f (patch)
tree97bc27a006948ade84300e9de811a87f48ed53d3
parent314c50eee3864e8c45ad2dc539bb85173d442098 (diff)
parent43dfbf7533ff9d176051231e52d308613a8d4bd1 (diff)
downloadotp-188b7883723a87cacf449f44afe1c362835e203f.tar.gz
otp-188b7883723a87cacf449f44afe1c362835e203f.tar.bz2
otp-188b7883723a87cacf449f44afe1c362835e203f.zip
Merge branch 'hans/ssh/message_queue_data_off_heap'
-rw-r--r--lib/ssh/src/ssh_connection_handler.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_connection_handler.erl b/lib/ssh/src/ssh_connection_handler.erl
index ff94e5dfb6..84adf952e6 100644
--- a/lib/ssh/src/ssh_connection_handler.erl
+++ b/lib/ssh/src/ssh_connection_handler.erl
@@ -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}]
+ )}.
%%--------------------------------------------------------------------