slow deferUpdate
So I have been doing quite some debugging to increase my command speed and I noticed that
await interaction.deferUpdate()
takes 300-500ms for me even though my ping to the ws is around 20.
Is that an expected range I'm meant to look at or is that too high? Is there any ways to reduce this?10 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!even 500 is a stretch. Sometimes it takes 1.3s which is just too much imo
Here's the timings from the previous few times ive had it.
what host do you use
because this seems more like a hosting issue
oh?
you reckon its to do with network or something?
yes
Possible, I guess latency being 20 is good but perhaps upload speeds are slow
i am testing myself and am reaching anything inbetween 230-500ms
and your ping to the api?
124ms
okay interesting.