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

Commit

Permalink
Merge pull request #1300 from dneuman64/riak-tweak-to
Browse files Browse the repository at this point in the history
set default ssl session cache
  • Loading branch information
elsloo committed Apr 13, 2016
2 parents 13fcb83 + de1b7d8 commit 4b11383
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit 4b11383

Please sign in to comment.