Extract Gitlab::Geo::Cache from Gitlab::Geo
We should avoid putting binary ActiveRecord objects in the cache. This changes introduces a new cache Gitlab::Geo::Cache that writes a string containing a JSON representation of the objects to the cache, and parses the cached value back when requested.
Showing
ee/lib/gitlab/geo/cache.rb
0 → 100644
Please register or sign in to comment