Second upload

This commit is contained in:
qi_0527 2024-10-25 23:59:12 +08:00
parent fb98b9afae
commit c25dcede5f

View File

@ -27,7 +27,7 @@ public class ParkingService : BackgroundService
await PerformParkingCheckAsync(stoppingToken);
while (!stoppingToken.IsCancellationRequested)
{
await Task.Delay(TimeSpan.FromSeconds(50), stoppingToken); // 每50秒執行
await Task.Delay(TimeSpan.FromSeconds(60), stoppingToken); // 每60秒執行
await PerformParkingCheckAsync(stoppingToken);
}
}