Only check for bundle updates every 4th hour

This should decrease my AWS bill with $4-5/month :)
This commit is contained in:
Allan Odgaard
2013-02-05 08:48:15 +01:00
parent 20641c50c3
commit 674b171a90

View File

@@ -136,7 +136,7 @@ static BundlesManager* SharedInstance;
bundlesIndex = bundles_db::index(kInstallDirectory);
[self updateSources:nil];
[NSTimer scheduledTimerWithTimeInterval:60*60 target:self selector:@selector(updateSources:) userInfo:nil repeats:YES];
[NSTimer scheduledTimerWithTimeInterval:4*60*60 target:self selector:@selector(updateSources:) userInfo:nil repeats:YES];
}
return SharedInstance;
}