Skip to content

Conversation

@jklausa
Copy link
Contributor

@jklausa jklausa commented Jun 3, 2019

Fixes #11657, kinda-ish.

Alright, so this "fixes" the slow Stats summary fetches.

As I explained in the WPKit PR, I tried almost everything I could think of to "fix" this, but this workaround was closest I could get to something reasonable. We could think about a nicer way of handling this in UI in a future update, but I think this should do for now...

To test:

  1. Go to stats
  2. Verify that the summary data appears much faster — with "likes" being set to 0
  3. Verify that the correct likes number appears eventually — or that there's a timeout error being printed in the console.

Copy link
Contributor

@ScoutHarris ScoutHarris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works great Jan, thank you! GTG! (just reminding to change the destination branch if necessary)

:shipit:

@jklausa jklausa merged commit 3c86656 into develop Jun 3, 2019
@jklausa jklausa deleted the feature/workaround-for-slow-summary-fetches branch June 3, 2019 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Stats Refresh] investigate Period summary fetch time

3 participants