Nekos-life / nekos-dot-life

Nekos.life wrapper.
MIT License
166 stars 33 forks source link

Slow promise #32

Closed sinkaroid closed 3 years ago

sinkaroid commented 3 years ago

Slow promise Sometime i getting slow promise when fetch any nekos through this wrapper,
but when i fetched manual with node-fetch example: https://www.nekos.life/api/v2/img/wallpaper
with node-fetch the image return is fast properly, also i'm not using any kind of delay function.

Desktop

Ty sir

TheCyberRonin commented 3 years ago

Does it happen consistently? Like every single API call using this wrapper, every single time?

IamTails commented 3 years ago

If this isn't reproducible, it's a fair bet based on the timeframe this was likely caused by me moving core services to new hardware which was causing widespread delays and instability and should be resolved now

sinkaroid commented 3 years ago

ah i see and yes it's not slow anymore, also me just happened to implement a sharding right now thx for your beautiful api