aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2017-01-31 13:59:19 +0100
committerHans Nilsson <[email protected]>2017-04-12 12:31:24 +0200
commit43dfbf7533ff9d176051231e52d308613a8d4bd1 (patch)
tree97bc27a006948ade84300e9de811a87f48ed53d3 /lib/ssh
parent314c50eee3864e8c45ad2dc539bb85173d442098 (diff)
downloadotp-43dfbf7533ff9d176051231e52d308613a8d4bd1.tar.gz
otp-43dfbf7533ff9d176051231e52d308613a8d4bd1.tar.bz2
otp-43dfbf7533ff9d176051231e52d308613a8d4bd1.zip
ssh: added message_queue_data,off_heap to spawn
Seems to solve some test case problems when heavily loaded
Diffstat (limited to 'lib/ssh')
-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}]
+ )}.
%%--------------------------------------------------------------------