Skip to content

Commit

Permalink
Update to 1 hour (#12716)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiminuo committed Mar 26, 2024
1 parent f4ce5dd commit ac2f064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WalletWasabi.Daemon/Global.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public Global(string dataDir, string configFilePath, Config config)
HostedServices.Register<WasabiSynchronizer>(() => new WasabiSynchronizer(requestInterval, maxFiltersToSync, BitcoinStore, HttpClientFactory), "Wasabi Synchronizer");
WasabiSynchronizer wasabiSynchronizer = HostedServices.Get<WasabiSynchronizer>();

HostedServices.Register<UpdateChecker>(() => new UpdateChecker(TimeSpan.FromSeconds(5), wasabiSynchronizer), "Software Update Checker");
HostedServices.Register<UpdateChecker>(() => new UpdateChecker(TimeSpan.FromHours(1), wasabiSynchronizer), "Software Update Checker");
UpdateChecker updateChecker = HostedServices.Get<UpdateChecker>();

LegalChecker = new(DataDir, updateChecker);
Expand Down

0 comments on commit ac2f064

Please sign in to comment.