Merge branch 'dm-optimizations' into 'develop'
[akkoma] / lib / pleroma / web / rich_media / parser.ex
index 3746feaf688b275b8a70cc5bb15ac91a40191b58..18d9e2df5cdb56f28c8cd31ef788c9a3ae5518fe 100644 (file)
@@ -5,7 +5,7 @@ defmodule Pleroma.Web.RichMedia.Parser do
     def parse(url), do: parse_url(url)
   else
     def parse(url),
-      do: {:commit, Cachex.fetch!(:rich_media_cache, url, fn _ -> parse_url(url) end)}
+      do: Cachex.fetch!(:rich_media_cache, url, fn _ -> parse_url(url) end)
   end
 
   defp parse_url(url) do