한국   대만   중국   일본 
? T274825 lots of calls being made to "suggest" api and app gets slow and heavy
Page Menu Home Phabricator

lots of calls being made to "suggest" api and app gets slow and heavy
Closed, Resolved Public

Description

lots of calls being made to "suggest" api and app gets slow and heavy especially on low end phones.
Steps:

  1. go to https://sx.wmflabs.org/index.php/Special:ContentTranslation
  2. click the first suggested article
  3. click the X button to go back to the dashboard

Expected results:

  • only 5 articles show on the suggestions list

Actual results:

  • 168 articles are loaded

image.png (510×1 px, 176 KB)

Event Timeline

Change 664520 had a related patch set uploaded (by Nik Gkountas; owner: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX: Performance fixes for vuex fetch actions

https://gerrit.wikimedia.org/r/664520

NOTE TO QA:
try this when this is deployed in sx-labs

Change 664520 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX: Performance fixes for vuex fetch actions

https://gerrit.wikimedia.org/r/664520