From 0f384a3cb825ff622e248dd72c86fbb33c895c27 Mon Sep 17 00:00:00 2001 From: Chris McCord Date: Wed, 10 Nov 2021 15:04:15 -0500 Subject: [PATCH] Kill sleep --- lib/live_beats_web/live/song_live/upload_form_component.ex | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/live_beats_web/live/song_live/upload_form_component.ex b/lib/live_beats_web/live/song_live/upload_form_component.ex index 7bf0716..6c1d1fd 100644 --- a/lib/live_beats_web/live/song_live/upload_form_component.ex +++ b/lib/live_beats_web/live/song_live/upload_form_component.ex @@ -137,7 +137,6 @@ defmodule LiveBeatsWeb.SongLive.UploadFormComponent do consume_uploaded_entry(socket, entry, fn %{path: path} -> Task.Supervisor.start_child(LiveBeats.TaskSupervisor, fn -> - Process.sleep(5000) send_update(lv, __MODULE__, id: socket.assigns.id, action: {:duration, entry.ref, LiveBeats.MP3Stat.parse(path)}