HomePhabricator

actions: Increase API request delay to 150 ms

Authored by phuedx on Mar 24 2017, 5:33 AM.

Description

actions: Increase API request delay to 150 ms

Step 1 of T161284. Given that the median API response time (as measured
by the client) is ~115 ms [0] and the API response is artificially
delayed so that the preview starts fading in at 500 ms, we can increase
the API request delay to 150 ms without affecting the current UX while
decreasing the number of incidental HTTP requests triggered by the user
glancing their mouse over a link to another page.

[0] https://grafana.wikimedia.org/dashboard/db/reading-web-page-previews

Bug: T161284
Change-Id: I4c4a766467cdb4cd47c4231c1106c35bab67855e

Details

Committed
phuedxMar 29 2017, 4:42 PM
Parents
rEPOPb01e11c1f9a6: Popups doesn't need to depend on EventLogging
Branches
Unknown
Tags
Unknown
References
refs/changes/74/344574/3
ChangeId
I4c4a766467cdb4cd47c4231c1106c35bab67855e