diff options
author | metamuffin <metamuffin@disroot.org> | 2025-06-15 12:24:03 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-06-15 12:24:03 +0200 |
commit | 88a45d8003deb6804f90313e994fac1bf8eefce6 (patch) | |
tree | 3ec1722244c64c8f91afce8d71a3d134d30b0a2d /scripts | |
parent | 770832dc6ab62bc2ad260bfbd46e1d0a26cc9865 (diff) | |
download | isda-88a45d8003deb6804f90313e994fac1bf8eefce6.tar isda-88a45d8003deb6804f90313e994fac1bf8eefce6.tar.bz2 isda-88a45d8003deb6804f90313e994fac1bf8eefce6.tar.zst |
fix bug where too many tasks where assigned
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ytdlp_download.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/ytdlp_download.ts b/scripts/ytdlp_download.ts index bc9afd7..b6be66d 100644 --- a/scripts/ytdlp_download.ts +++ b/scripts/ytdlp_download.ts @@ -110,7 +110,9 @@ ws.onmessage = async ev => { if (p.t == "config") config = p.config if (p.t == "error") console.error(`error: ${p.message}`); if (p.t == "work") { + console.log("work"); await do_download(p.key, p.data) + console.log("accept"); ws.send(JSON.stringify({ t: "accept" })) } } |