Commit d6daabf
committed
Correct the presence write interval recommendation, which broke the active-user count
Active presence counts users whose timestamp falls in the last 180 seconds, a window fixed in the code. Four pages recommended 300 to 500 seconds, and the reference claimed that stayed inside the window. It does not: at those values a user's timestamp ages past the window before the next write is permitted, so they leave the count and return when the write lands. Someone watching the active-user metric sees a sawtooth rather than a steady figure, which is what was reported in #1358.
The recommendation is now 60 to 120 seconds, with the reason stated so nobody raises it again, and every page says the value must stay below 180. The advice to set a value at all is unchanged, since on current releases the write is unthrottled until an interval is configured.1 parent 3e56375 commit d6daabf
4 files changed
Lines changed: 4 additions & 4 deletions
File tree
- docs
- getting-started/advanced-topics
- reference
- troubleshooting
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | | - | |
| 475 | + | |
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7458 | 7458 | | |
7459 | 7459 | | |
7460 | 7460 | | |
7461 | | - | |
| 7461 | + | |
7462 | 7462 | | |
7463 | 7463 | | |
7464 | 7464 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments