Skip to content

Commit

Permalink
Revert "fix(*): handle timeout"
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancar authored Oct 19, 2023
1 parent eab2431 commit efe1f6f
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 efe1f6f

Please sign in to comment.