Skip to content

Commit

Permalink
Merge pull request #608 from bcgov/yj
Browse files Browse the repository at this point in the history
Yj
  • Loading branch information
ychung-mot authored Sep 6, 2024
2 parents ebc7e1d + 0c3ad4e commit 735826d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/StrDss.Data/Repositories/BizLicenceRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public async Task ProcessBizLicTempTable(long lgId)
{
var processStopwatch = Stopwatch.StartNew();

_dbContext.Database.SetCommandTimeout(600);
_dbContext.Database.SetCommandTimeout(2400);

await _dbContext.Database.ExecuteSqlRawAsync($"CALL dss_process_biz_lic_table({lgId});");

Expand Down
2 changes: 1 addition & 1 deletion server/StrDss.Hangfire/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
var dbPass = builder.Configuration.GetValue<string>("DB_PASS");
var dbPort = builder.Configuration.GetValue<string>("DB_PORT");

var connString = $"Host={dbHost};Username={dbUser};Password={dbPass};Database={dbName};Port={dbPort};CommandTimeout=600";
var connString = $"Host={dbHost};Username={dbUser};Password={dbPass};Database={dbName};Port={dbPort};CommandTimeout=2400";

builder.Services.AddHttpContextAccessor();

Expand Down

0 comments on commit 735826d

Please sign in to comment.