Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sungam3r committed Dec 3, 2023
1 parent 5508cfb commit e1d223a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public async Task be_unhealthy_if_sqlServer_is_not_available()
.ConfigureServices(services =>
{
services.AddHealthChecks()
.AddSqlServer("Server=tcp:200.0.0.100,1833;Initial Catalog=master;User Id=sa;Password=Password12!;Encrypt=false", tags: new string[] { "sqlserver" });
.AddSqlServer("Server=tcp:localhost,1833;Initial Catalog=master;User Id=sa;Password=Password12!;Encrypt=false;Connection Timeout=10", tags: new string[] { "sqlserver" });
})
.Configure(app =>
{
Expand Down

0 comments on commit e1d223a

Please sign in to comment.