Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

feat: switch from petitio to undici pool #150

Merged
merged 2 commits into from
Aug 1, 2022
Merged

feat: switch from petitio to undici pool #150

merged 2 commits into from
Aug 1, 2022

Conversation

viztea
Copy link
Collaborator

@viztea viztea commented Dec 6, 2021

Uses undici's pool for probably faster subsequent requests. I've not tested this so if anyone can test/benchmark it pls do so and create a nice polite comment.

@viztea viztea marked this pull request as draft December 6, 2021 11:39
@phamleduy04
Copy link

phamleduy04 commented Apr 6, 2022

I tried this, didn't benchmark because idk how to but its works great. Only thing is it auto log it to console when requesting a song. Seems like config problem with undici something.

I tried to migrate to undici on erela.js-spotify package and the request response got logged too.

Screen Shot 2022-04-06 at 11 33 13 AM

Edit: Undici 5.0.0 still have this problem

@viztea viztea marked this pull request as ready for review July 20, 2022 20:58
@viztea viztea changed the title Switch from petitio to undici pool feat: switch from petitio to undici pool Aug 1, 2022
@viztea viztea merged commit a43298f into master Aug 1, 2022
@viztea viztea deleted the undici branch August 1, 2022 02:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants