diff options
author | Ingela Anderton Andin <[email protected]> | 2012-09-25 11:47:38 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2012-09-25 11:47:38 +0200 |
commit | d3d0048deb56b548b6636e7f04e0e0bf126aacd9 (patch) | |
tree | 66efab557fe296d07dcc7c6e5660497a73d66d46 /lib/ssl/src/ssl_manager.erl | |
parent | b58ce62a0cf296ca8cd8cd77b053bc70ecf28758 (diff) | |
download | otp-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/ssl_manager.erl')
-rw-r--r-- | lib/ssl/src/ssl_manager.erl | 2 |
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, |