Kill sleep

This commit is contained in:
Chris McCord 2021-11-10 15:04:15 -05:00
parent bf113e014e
commit 0f384a3cb8

View file

@ -137,7 +137,6 @@ defmodule LiveBeatsWeb.SongLive.UploadFormComponent do
consume_uploaded_entry(socket, entry, fn %{path: path} -> consume_uploaded_entry(socket, entry, fn %{path: path} ->
Task.Supervisor.start_child(LiveBeats.TaskSupervisor, fn -> Task.Supervisor.start_child(LiveBeats.TaskSupervisor, fn ->
Process.sleep(5000)
send_update(lv, __MODULE__, send_update(lv, __MODULE__,
id: socket.assigns.id, id: socket.assigns.id,
action: {:duration, entry.ref, LiveBeats.MP3Stat.parse(path)} action: {:duration, entry.ref, LiveBeats.MP3Stat.parse(path)}