Skip to content

Commit

Permalink
Merge pull request #47 from Lumen5/revert-45-LU-3058-handle-timeout
Browse files Browse the repository at this point in the history
Revert "fix(*): handle timeout"
  • Loading branch information
stepancar committed Oct 23, 2023
2 parents eab2431 + efe1f6f commit 689b02b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/DownloadVideoURL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ export class DownloadVideoURL {
}
reject(e);
});

this.#httpRequest.on('timeout', () => {
this.#httpRequest.destroy();
reject(new Error(`Request to ${source} timed out`));
});
}
catch (e) {
reject(e);
Expand Down

0 comments on commit 689b02b

Please sign in to comment.