Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

set default ssl session cache #1300

Merged
merged 1 commit into from
Apr 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions traffic_ops/app/lib/TrafficOps.pm
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ use Env qw(PERL5LIB);
use Utils::Helper::TrafficOpsRoutesLoader;
use File::Path qw(make_path);
use IO::Compress::Gzip 'gzip';
use IO::Socket::SSL;

use Utils::Helper::Version;

Expand Down Expand Up @@ -183,6 +184,9 @@ sub startup {
my $rh = new Utils::Helper::TrafficOpsRoutesLoader($r);
$rh->load();

##help relieve issues with riak
IO::Socket::SSL::set_default_session_cache(IO::Socket::SSL::Session_Cache->new( 1024 ));

}

sub setup_logging {
Expand Down