We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 13d7652 + 512aaa5 commit d9f2e8cCopy full SHA for d9f2e8c
deps/rabbit_common/src/rabbit_ssl_options.erl
@@ -18,7 +18,9 @@
18
-spec fix(rabbit_types:infos()) -> rabbit_types:infos().
19
20
fix(Config) ->
21
- fix_verify_fun(fix_ssl_protocol_versions(Config)).
+ fix_verify_fun(
22
+ fix_ssl_protocol_versions(
23
+ hibernate_after(Config))).
24
25
fix_verify_fun(SslOptsConfig) ->
26
%% Starting with ssl 4.0.1 in Erlang R14B, the verify_fun function
@@ -84,3 +86,12 @@ fix_ssl_protocol_versions(Config) ->
84
86
end,
85
87
rabbit_misc:pset(versions, Configured -- ?BAD_SSL_PROTOCOL_VERSIONS, Config)
88
end.
89
+
90
+hibernate_after(Config) ->
91
+ Key = hibernate_after,
92
+ case proplists:is_defined(Key, Config) of
93
+ true ->
94
+ Config;
95
+ false ->
96
+ [{Key, 6_000} | Config]
97
+ end.
0 commit comments