Skip to content

Commit 75c2761

Browse files
committed
fix: timeout
1 parent 92949a8 commit 75c2761

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/StrDss.Data/Repositories/BizLicenceRepository.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ public async Task ProcessBizLicTempTable(long lgId)
159159
{
160160
var processStopwatch = Stopwatch.StartNew();
161161

162+
_dbContext.Database.SetCommandTimeout(300);
163+
162164
await _dbContext.Database.ExecuteSqlRawAsync($"CALL dss_process_biz_lic_table({lgId});");
163165

164166
processStopwatch.Stop();

0 commit comments

Comments
 (0)