Hacktoberfest / hacktoberfest-2020

Hacktoberfest - App to manage the annual open-source challenge, used for the 2019 & 2020 seasons.
https://hacktoberfest.digitalocean.com
Other
496 stars 147 forks source link

Update MLH caching method #589

Closed katjuell closed 3 years ago

katjuell commented 3 years ago

Description

Our caching to MLH wasn't working as expected. Changes in this PR should ensure the API call is cached properly.

Test process

I tested this by looking at local cache in tmp/cache and ensuring that Airtable and MLH keys/entries were created. To configure that, you can tweak the settings in development.rb, swapping config.cache_store = :file_store, "#{root}/tmp/cache/" in place of config.cache_store = :dalli_store, *ENV['DALLI_SERVER'].

Requirements to merge