Merge pull request #13 from yogodoshi/update-gems-with-vulnerabilities
Update nokogiri and devise gems because of vulnerabilities
View ArticleRun FixSchedulesWorker daily at 6AM instead of 5AM.
This way this scheduling does not clash with the automated sidekiq restart that happens at 5AM. This fixes a bug: FixSchedulesWorker was often not running at the scheduled time.
View ArticleSet Rack-cache verbosity to false.
This removes some messages from the logs. Also will probably remove IO errors that happen occasionally when trying to write logs from rack-cache.
View ArticleWhen fetching feeds using rack-cache for client-side caching, set entitystore...
This keeps rack-cache from persisting response bodies in disk. We are not interested in those bodies, if a response indicates that the cache for that feed is still valid, all feed processing can be...
View ArticleUse a fork of rack-cache.
This fork allows setting the entity store to nil. When configured this way, it returns empty bodies for cached responses, instead of returning the original body. It doesn't persist entities, which...
View ArticleAdded Zlib::DataError to the errors that can be expected to be raised when fe...
If this (rare) error happens, this means that something is wrong with the zipping of the HTTP response. The error is not raised, to avoid sidekiq adding the worker to its list of retries; rather, the...
View ArticleReplace calls to ActiveSupport's "try" with the safe navigation operator "&."
The safe navigation operator is new in ruby 2.3.0 For more details see for example: http://mitrev.net/ruby/2015/11/13/the-operator-in-ruby/
View Article