Commit 2b0c2ad
committed
Remove active-users endpoint and homepage polling
The /api/active-users serverless function was the primary driver of
Vercel function invocation costs, being polled every 20s by every
visitor. Remove the endpoint entirely and the associated client-side
fetch/UI. The turing games stat is now always shown instead of
conditionally swapping with the active users count.
https://claude.ai/code/session_01UGfnsFfXcafbYbt2TuFUVq1 parent a2dc8d8 commit 2b0c2ad
3 files changed
Lines changed: 8 additions & 169 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 3 | | |
20 | 4 | | |
21 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
| |||
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | 141 | | |
159 | 142 | | |
160 | 143 | | |
| |||
263 | 246 | | |
264 | 247 | | |
265 | 248 | | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | 249 | | |
276 | 250 | | |
277 | 251 | | |
| |||
286 | 260 | | |
287 | 261 | | |
288 | 262 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
298 | 270 | | |
299 | 271 | | |
300 | 272 | | |
| |||
This file was deleted.
0 commit comments