Skip to content

Commit 386aa66

Browse files
committed
Remove unused Redis check
1 parent 61bd552 commit 386aa66

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/components_guide_web/live/latency_comparison.ex

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,6 @@ defmodule ComponentsGuideWeb.LatencyComparisonLive do
148148
Fetch.load!(req)
149149
end
150150

151-
# redis_timings = Fetch.Timings.start()
152-
# {duration_microseconds, _result} =
153-
# :timer.tc(fn ->
154-
# case Redix.command(:redix_cache, ["GET", "whatever"]) do
155-
# {:ok, value} -> value
156-
# _ -> nil
157-
# end
158-
# end)
159-
# redis_timings = Fetch.Timings.finish(redis_timings)
160-
# redis_res = Fetch.Response.new("redis:") |> Fetch.Response.add_timings(redis_timings)
161-
# responses = [redis_res | responses]
162-
163151
state =
164152
socket.assigns.state
165153
|> State.add_responses(responses)

0 commit comments

Comments
 (0)