Gehel added a subscriber: Smalyshev.
Gehel added a comment.

Probably a rate limit @Gehel .
You should only run the queries when they are visible for the user to avoid running multiple queries at the same time....

The "Rate limit exceeded" is definitely a rate limit issue. Making sure the requests are sent serially would certainly help. Just running them when the related <div/> is visible is probably good enough, and would most probably reduce the load on the WDQS servers.

Looking at the requests made from https://tools.wmflabs.org/scholia/author/Q8219, I see that at least some of the requests generating an HTTP 500 seem to have a syntax issue, leading to a java.lang.IllegalArgumentException: Non-aggregate variable in select _expression_: work. Those request should result in an HTTP 400, but that's probably non trivial to fix on our side. @Smalyshev might have an idea to fix the HTTP status, but the root issue seems to be the query.


TASK DETAIL
https://phabricator.wikimedia.org/T194735

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Gehel
Cc: Smalyshev, EgonWillighagen, Jonas, Gehel, Fnielsen, Aklapper, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to