Allow for retring individual tracks

This commit is contained in:
Lei Nelissen
2022-01-02 19:16:12 +01:00
parent 74ddc58f83
commit cc0dfc2528
7 changed files with 175 additions and 81 deletions

View File

@@ -26,7 +26,7 @@ export const downloadTrack = createAsyncThunk(
// Actually kick off the download
const { promise } = await downloadFile({
fromUrl: url,
progressInterval: 50,
progressInterval: 250,
background: true,
begin: ({ jobId, contentLength }) => {
// Dispatch the initialization