电梯锁优化

This commit is contained in:
2024-06-11 13:41:56 +08:00
parent 598d40af6d
commit 94065c4920
5 changed files with 9 additions and 26 deletions

View File

@@ -763,8 +763,8 @@ namespace Tnb.WarehouseMgr
[HttpPost]
public async Task GenTaskExecute()
{
await CTUTaskExecute();
await s_taskExecuteSemaphore.WaitAsync();
await CTUTaskExecute();
Stopwatch sw = Stopwatch.StartNew();
CancellationTokenSource agvCts = new();