diff --git a/backend/config/config.exs b/backend/config/config.exs index d652545..dbb28ec 100644 --- a/backend/config/config.exs +++ b/backend/config/config.exs @@ -90,10 +90,6 @@ config :backend, Backend.Scheduler, {"0 */3 * * *", {Backend.Scheduler, :check_for_spam_instances, []}} ] -config :phoenix, :template_engines, - eex: Appsignal.Phoenix.Template.EExEngine, - exs: Appsignal.Phoenix.Template.ExsEngine - # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. import_config "#{Mix.env()}.exs" diff --git a/backend/lib/graph/cache.ex b/backend/lib/graph/cache.ex index cea853a..b28fb97 100644 --- a/backend/lib/graph/cache.ex +++ b/backend/lib/graph/cache.ex @@ -83,6 +83,7 @@ defmodule Graph.Cache do # Cache for five minutes Cache.put(key, crawl, ttl: 300) + crawl data -> Appsignal.increment_counter("most_recent_crawl_cache.hits", 1)