Commit f467bb7
perf: use LRU cache for getServerSession (#8339)
* chore: add lru package
* feat: use LRU cache
* fix: type
* Updates package json
---------
Co-authored-by: zomars <[email protected]>1 parent 597b14c commit f467bb7
File tree
3 files changed
+13
-8
lines changed- packages/features/auth
- lib
3 files changed
+13
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 13 | | |
18 | | - | |
| 14 | + | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
| |||
44 | 40 | | |
45 | 41 | | |
46 | 42 | | |
47 | | - | |
| 43 | + | |
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
| |||
79 | 75 | | |
80 | 76 | | |
81 | 77 | | |
82 | | - | |
| 78 | + | |
83 | 79 | | |
84 | 80 | | |
85 | 81 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4332 | 4332 | | |
4333 | 4333 | | |
4334 | 4334 | | |
| 4335 | + | |
4335 | 4336 | | |
4336 | 4337 | | |
4337 | 4338 | | |
| |||
27369 | 27370 | | |
27370 | 27371 | | |
27371 | 27372 | | |
| 27373 | + | |
| 27374 | + | |
| 27375 | + | |
| 27376 | + | |
| 27377 | + | |
| 27378 | + | |
| 27379 | + | |
27372 | 27380 | | |
27373 | 27381 | | |
27374 | 27382 | | |
| |||
0 commit comments