API super slow recently, what happened?


#1

As of a month ago or so (around the time the discourse switch happened), API calls are taking a long time. http://peterkinnaird.eu/kani/ takes minutes to load, http://wanikaniexplorer.com/ fails to load, and the Android app needs much longer to load reviews, get stats, and whatnot. What happened? Can you try to fix this, please?


#2

https://www.idigtech.com/wanikani/ also fails to load my profile now.


#3

@thakis, It does seem a lot slower at the moment, though I was able to load your profile. Normally, a level-30ish user goes reasonably fast. Yours felt more like a level 60 user.


#4

Them turtles get older every time you level up.


#5

Doesn’t seem to want to progress beyond that for me either.


#6

I uploaded a small change to improve retries when the WK server fails to respond in a reasonable time. It may take up to an hour for your browser to automatically pick up the change, or you can clear cache to force it immediately.

Obviously, this won’t fix the slow WK times, but it may make my site handle the problem better. I’d be interested to hear back from you if this helps (or doesn’t).


#7

It loads now.


#8

You’re the best @rfindley!


#9

@rfindley Is it possible and would it make sense to make that small change to the Ultimate Timeline script as well? I think that’s been having the same problems as the stats site.


#10

Done :slight_smile: [link]


#11

Thanks! :slight_smile:


#12

Thanks for fixing!


#13

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.