aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-09-25 11:47:38 +0200
committerIngela Anderton Andin <[email protected]>2012-11-12 11:17:56 +0100
commitff283e8c9b3e565773aa07ca680a30a1ec966252 (patch)
treecf705ed4fb9240b4e3fd86d35fe9a840e70a6352 /lib/ssl/src
parent674c8440d536d5fb2e96ececeee78cb1e2701e52 (diff)
downloadotp-ff283e8c9b3e565773aa07ca680a30a1ec966252.tar.gz
otp-ff283e8c9b3e565773aa07ca680a30a1ec966252.tar.bz2
otp-ff283e8c9b3e565773aa07ca680a30a1ec966252.zip
ssl: Adopt test case to not take so long
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/ssl_manager.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_manager.erl b/lib/ssl/src/ssl_manager.erl
index af2bfa394d..0cf4f2ce33 100644
--- a/lib/ssl/src/ssl_manager.erl
+++ b/lib/ssl/src/ssl_manager.erl
@@ -191,7 +191,7 @@ init([Name, Opts]) ->
proplists:get_value(session_lifetime, Opts, ?'24H_in_sec'),
CertDb = ssl_certificate_db:create(),
SessionCache = CacheCb:init(proplists:get_value(session_cb_init_args, Opts, [])),
- Timer = erlang:send_after(SessionLifeTime * 1000,
+ Timer = erlang:send_after(SessionLifeTime * 1000 + 5000,
self(), validate_sessions),
erlang:send_after(?CLEAR_PEM_CACHE, self(), clear_pem_cache),
{ok, #state{certificate_db = CertDb,