summaryrefslogtreecommitdiff
path: root/doc/development/fe_guide
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2017-03-30 11:17:40 +0000
committerJacob Schatz <jschatz@gitlab.com>2017-03-30 11:17:40 +0000
commitaa97ee54242a1a47bdfaea633afdff869d10c56f (patch)
treedbede7e108f564ffa17726edcbce777597a093ea /doc/development/fe_guide
parenta33b376d6da7aecba23f615eea6aa7ebfa429955 (diff)
parent8dd2da022b238a8ade1a53e0b81eab4942e1ea3c (diff)
downloadgitlab-ce-aa97ee54242a1a47bdfaea633afdff869d10c56f.tar.gz
Merge branch 'update-eyeballs-docs' into 'master'
Update docs regarding visibility lib See merge request !10295
Diffstat (limited to 'doc/development/fe_guide')
-rw-r--r--doc/development/fe_guide/performance.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/development/fe_guide/performance.md b/doc/development/fe_guide/performance.md
index 2d76bb18cff..9437a5f7a6e 100644
--- a/doc/development/fe_guide/performance.md
+++ b/doc/development/fe_guide/performance.md
@@ -17,8 +17,7 @@ polling rate.
A `Poll-Interval: -1` means you should disable polling, and this must be implemented.
1. A response with HTTP status `4XX` or `5XX` should disable polling as well.
1. Use a common library for polling.
-1. Poll on active tabs only. Use a common library to find out which tab currently has eyes on it.
-Please use [Focus](https://gitlab.com/andrewn/focus). Specifically [Eyeballs Detector](https://gitlab.com/andrewn/focus/blob/master/lib/eyeballs-detector.js).
+1. Poll on active tabs only. Please use [Visibility](https://github.com/ai/visibilityjs).
1. Use regular polling intervals, do not use backoff polling, or jitter, as the interval will be
controlled by the server.
1. The backend code will most likely be using etags. You do not and should not check for status