Skip to content

Commit

Permalink
start update check instantly
Browse files Browse the repository at this point in the history
  • Loading branch information
aspriddell committed Nov 5, 2024
1 parent 5ffaeea commit 3a0af8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DragonFruit.OnionFruit/Updater/VelopackUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Task IHostedService.StartAsync(CancellationToken cancellationToken)
{
if (_updateManager.IsInstalled)
{
_checkTimer = new Timer(_ => TriggerUpdateCheck(), null, TimeSpan.FromSeconds(5), TimeSpan.FromHours(12));
_checkTimer = new Timer(_ => TriggerUpdateCheck(), null, TimeSpan.Zero, TimeSpan.FromHours(12));
}
else
{
Expand Down

0 comments on commit 3a0af8b

Please sign in to comment.