Skip to content

Commit

Permalink
Update Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabefire authored Jun 19, 2024
1 parent 33f03b9 commit 3384c90
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion TalkWaveApi.WebSocket/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@
hubOptions.EnableDetailedErrors = true;
hubOptions.KeepAliveInterval = TimeSpan.FromSeconds(10);
hubOptions.HandshakeTimeout = TimeSpan.FromSeconds(5);
}).AddStackExchangeRedis("talkwavetest-vxc8e3.serverless.use2.cache.amazonaws.com:6379");
}).AddStackExchangeRedis("talkwavetest-vxc8e3.serverless.use2.cache.amazonaws.com:6379", options =>
{
options.Configuration.Ssl = true;
options.Configuration.SslProtocols = System.Security.Authentication.SslProtocols.Tls12;
options.Configuration.AbortOnConnectFail = false;
});

var app = builder.Build();

Expand Down

0 comments on commit 3384c90

Please sign in to comment.