Commit feee9f8
committed
fix: remove SemaphoreSlim throttle - unnecessary given TMDB rate limits
TMDB allows ~40 requests/10 seconds. The discover page makes at most
~20-30 calls on a completely cold cache, and most endpoints are already
cached at the controller level (12h TTL). The semaphore added complexity
and contention without meaningful benefit. Task.WhenAll now runs
freely - the existing multi-layer caching (controller + engine) is
sufficient to keep TMDB call volume low.1 parent 4e41ce6 commit feee9f8
3 files changed
Lines changed: 10 additions & 69 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 29 | | |
36 | 30 | | |
37 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
| 262 | + | |
| 263 | + | |
274 | 264 | | |
275 | 265 | | |
276 | 266 | | |
| |||
461 | 451 | | |
462 | 452 | | |
463 | 453 | | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 454 | + | |
476 | 455 | | |
477 | 456 | | |
478 | 457 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 202 | + | |
| 203 | + | |
214 | 204 | | |
215 | 205 | | |
216 | 206 | | |
| |||
240 | 230 | | |
241 | 231 | | |
242 | 232 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
| 233 | + | |
255 | 234 | | |
256 | 235 | | |
257 | 236 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
273 | 241 | | |
274 | 242 | | |
275 | 243 | | |
| |||
0 commit comments