diff --git a/BuildaUtils/HTTPUtils.swift b/BuildaUtils/HTTPUtils.swift index 091dc99..0d965bd 100644 --- a/BuildaUtils/HTTPUtils.swift +++ b/BuildaUtils/HTTPUtils.swift @@ -13,6 +13,11 @@ public class HTTP { public var session: NSURLSession public init(session: NSURLSession = NSURLSession.sharedSession()) { + + //disable all caching + session.configuration.requestCachePolicy = .ReloadIgnoringLocalCacheData + session.configuration.URLCache = nil + self.session = session } diff --git a/Buildasaur/Base.lproj/Main.storyboard b/Buildasaur/Base.lproj/Main.storyboard index 1cc643e..e4f4b1e 100644 --- a/Buildasaur/Base.lproj/Main.storyboard +++ b/Buildasaur/Base.lproj/Main.storyboard @@ -1,7 +1,7 @@ - + - + @@ -1810,7 +1810,7 @@ - + diff --git a/Buildasaur/StatusSyncerViewController.swift b/Buildasaur/StatusSyncerViewController.swift index 3ebe50b..ecdcbec 100644 --- a/Buildasaur/StatusSyncerViewController.swift +++ b/Buildasaur/StatusSyncerViewController.swift @@ -146,7 +146,7 @@ class StatusSyncerViewController: StatusViewController, SyncerDelegate { self.updateIntervalFromUIToValue(syncer.syncInterval) } else { - self.updateIntervalFromUIToValue(60) //default + self.updateIntervalFromUIToValue(15) //default } } diff --git a/README.md b/README.md index 85ad521..28f3651 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Installation Steps + Paste your GitHub token + Select the path to your SSH keys + Click Done, which validates the settings and GitHub access -- In the bottom part, choose the sync interval (default is 1 minute, which works pretty well, don't decrease it too much, GitHub rate-limits access) +- In the bottom part, choose the sync interval (default is now 15 seconds, which works pretty well, don't decrease it too much, GitHub rate-limits access to 5000 requests per hour, when authenticated and only 60 when unauthenticated) - If both Server and Project configs say *Verified access, all is well*, click **Start** to start syncing your pull requests with bots. ![](https://raw.githubusercontent.com/czechboy0/Buildasaur/master/Meta/builda_screenshot.png)