mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 21:29:38 +02:00
parent
027c18297b
commit
4866a4f8e4
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ class Provider::Github
|
|||
end
|
||||
|
||||
def fetch_latest_upgrade_candidates
|
||||
Rails.cache.fetch("latest_github_upgrade_candidates", expires_in: 2.minutes) do
|
||||
Rails.cache.fetch("latest_github_upgrade_candidates", expires_in: 30.minutes) do
|
||||
Rails.logger.info "Fetching latest GitHub upgrade candidates from #{repo} on branch #{branch}..."
|
||||
begin
|
||||
latest_release = Octokit.releases(repo).first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue