Skip to content

Commit

Permalink
Reduce minutes past for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhelms committed Mar 12, 2024
1 parent cdaff41 commit e4b2201
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Obspi/Services/AutoRoofCloseHostedService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ public class AutoRoofCloseHostedService : PeriodicHostedService
private readonly ILogger<AutoRoofCloseHostedService> _logger;
private readonly TimeProvider _timeProvider;

private const int MinutesPastSunriseNormalPriorityAlert = 30;
private const int MinutesPastSunriseEmergencyPriorityAlert = 90;
private const int AlertInterval = 5; // every 5 minutes
private const int MinutesPastSunriseNormalPriorityAlert = 3;
private const int MinutesPastSunriseEmergencyPriorityAlert = 6;
private const int AlertInterval = 1; // every 5 minutes

/// <summary>
/// The time when the sun is approx. 3 deg above horizon.
Expand Down

0 comments on commit e4b2201

Please sign in to comment.