• Douglas Barbosa Alexandre's avatar
    Extract Gitlab::Geo::Cache from Gitlab::Geo · 4b7f7680
    Douglas Barbosa Alexandre authored
    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.
    4b7f7680
geo.rb 3.45 KB