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-09-25 11:47:38 +0200
commitd3d0048deb56b548b6636e7f04e0e0bf126aacd9 (patch)
tree66efab557fe296d07dcc7c6e5660497a73d66d46 /lib/ssl/src
parentb58ce62a0cf296ca8cd8cd77b053bc70ecf28758 (diff)
downloadotp-d3d0048deb56b548b6636e7f04e0e0bf126aacd9.tar.gz
otp-d3d0048deb56b548b6636e7f04e0e0bf126aacd9.tar.bz2
otp-d3d0048deb56b548b6636e7f04e0e0bf126aacd9.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,