Second upload
This commit is contained in:
parent
fb98b9afae
commit
c25dcede5f
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user