HomePhabricator

Reducing polling of report screen when not visible

Authored by Nuria.

Description

Reducing polling of report screen when not visible

Polling of report screen is done too frequently,
we take advantage of browsers that support the visibility API
to reduce polling so when we report the number of requests
received by wikimetrics we have as little self inflicted
traffic as possible.

Bug: T94193
Change-Id: I9a9dffccacd1e0a765a8bb234397321413266d70

Details