 defmodule Mercator.PeerAssets.Repo do
   use GenServer
   require Logger
+
+  @agent_name String.to_atom(Atom.to_string(__MODULE__) <> ".Agent")
 
   alias Mercator.PeerAssets.Types.DeckSpawn
 

        PAprod: [],
        PAtest: []
       }
    end, name: __MODULE__)
    # init the Repo
    init(:retry, true)
  end

  ## Private

  defp retrieve(key) do
    Agent.get(@agent_name, &Map.get(&1, key))
  end

  defp store(value, key) do
    Agent.update(@agent_name, &Map.put(&1, key, value))
  end

  defp tag_loaded?(tag) do
