Commit a7af865
File tree
11 files changed
+58
-30
lines changedFilter options
- src/Symfony
- Bundle/FrameworkBundle/Resources/config
- Component/RateLimiter
- Policy
- Storage
11 files changed
+58
-30
lines changedsrc/Symfony/Bundle/FrameworkBundle/Resources/config/rate_limiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/rate_limiter.php+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
25 | 25 |
|
26 | 26 |
|
27 | 27 |
|
| 28 | + |
28 | 29 |
|
29 | 30 |
|
30 | 31 |
|
src/Symfony/Component/RateLimiter/Policy/FixedWindowLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/FixedWindowLimiter.php+7-5Lines changed: 7 additions & 5 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
| 14 | + |
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
| ||
34 | 35 |
|
35 | 36 |
|
36 | 37 |
|
| 38 | + |
37 | 39 |
|
38 | 40 |
|
39 | 41 |
|
| ||
56 | 58 |
|
57 | 59 |
|
58 | 60 |
|
59 |
| - |
| 61 | + |
60 | 62 |
|
61 | 63 |
|
62 |
| - |
| 64 | + |
63 | 65 |
|
64 | 66 |
|
65 | 67 |
|
| ||
68 | 70 |
|
69 | 71 |
|
70 | 72 |
|
71 |
| - |
| 73 | + |
72 | 74 |
|
73 | 75 |
|
74 | 76 |
|
75 | 77 |
|
76 | 78 |
|
77 |
| - |
| 79 | + |
78 | 80 |
|
79 | 81 |
|
80 | 82 |
|
81 | 83 |
|
82 |
| - |
| 84 | + |
83 | 85 |
|
84 | 86 |
|
85 | 87 |
|
|
src/Symfony/Component/RateLimiter/Policy/NoLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/NoLimiter.php+7-2Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
| 14 | + |
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
| ||
25 | 26 |
|
26 | 27 |
|
27 | 28 |
|
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
28 | 33 |
|
29 | 34 |
|
30 |
| - |
| 35 | + |
31 | 36 |
|
32 | 37 |
|
33 | 38 |
|
34 | 39 |
|
35 |
| - |
| 40 | + |
36 | 41 |
|
37 | 42 |
|
38 | 43 |
|
|
src/Symfony/Component/RateLimiter/Policy/SlidingWindow.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/SlidingWindow.php+8-6Lines changed: 8 additions & 6 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
| 14 | + |
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
| ||
28 | 29 |
|
29 | 30 |
|
30 | 31 |
|
| 32 | + |
31 | 33 |
|
32 | 34 |
|
33 | 35 |
|
34 | 36 |
|
35 |
| - |
| 37 | + |
36 | 38 |
|
37 | 39 |
|
38 |
| - |
| 40 | + |
39 | 41 |
|
40 | 42 |
|
41 | 43 |
|
42 | 44 |
|
43 |
| - |
| 45 | + |
44 | 46 |
|
45 | 47 |
|
46 | 48 |
|
| ||
58 | 60 |
|
59 | 61 |
|
60 | 62 |
|
61 |
| - |
| 63 | + |
62 | 64 |
|
63 | 65 |
|
64 | 66 |
|
65 | 67 |
|
66 |
| - |
| 68 | + |
67 | 69 |
|
68 | 70 |
|
69 | 71 |
|
| ||
77 | 79 |
|
78 | 80 |
|
79 | 81 |
|
80 |
| - |
| 82 | + |
81 | 83 |
|
82 | 84 |
|
83 | 85 |
|
|
src/Symfony/Component/RateLimiter/Policy/SlidingWindowLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/SlidingWindowLimiter.php+5-3Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
| 14 | + |
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
| ||
42 | 43 |
|
43 | 44 |
|
44 | 45 |
|
| 46 | + |
45 | 47 |
|
46 | 48 |
|
47 | 49 |
|
| ||
60 | 62 |
|
61 | 63 |
|
62 | 64 |
|
63 |
| - |
| 65 | + |
64 | 66 |
|
65 |
| - |
| 67 | + |
66 | 68 |
|
67 | 69 |
|
68 | 70 |
|
| ||
72 | 74 |
|
73 | 75 |
|
74 | 76 |
|
75 |
| - |
| 77 | + |
76 | 78 |
|
77 | 79 |
|
78 | 80 |
|
|
src/Symfony/Component/RateLimiter/Policy/TokenBucket.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/TokenBucket.php+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
| 14 | + |
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
| ||
35 | 36 |
|
36 | 37 |
|
37 | 38 |
|
| 39 | + |
38 | 40 |
|
39 | 41 |
|
40 | 42 |
|
| ||
43 | 45 |
|
44 | 46 |
|
45 | 47 |
|
46 |
| - |
| 48 | + |
47 | 49 |
|
48 | 50 |
|
49 | 51 |
|
|
src/Symfony/Component/RateLimiter/Policy/TokenBucketLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/TokenBucketLimiter.php+6-4Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
| 14 | + |
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
| ||
31 | 32 |
|
32 | 33 |
|
33 | 34 |
|
| 35 | + |
34 | 36 |
|
35 | 37 |
|
36 | 38 |
|
| ||
64 | 66 |
|
65 | 67 |
|
66 | 68 |
|
67 |
| - |
| 69 | + |
68 | 70 |
|
69 | 71 |
|
70 | 72 |
|
| ||
80 | 82 |
|
81 | 83 |
|
82 | 84 |
|
83 |
| - |
| 85 | + |
84 | 86 |
|
85 | 87 |
|
86 | 88 |
|
87 | 89 |
|
88 | 90 |
|
89 | 91 |
|
90 |
| - |
| 92 | + |
91 | 93 |
|
92 | 94 |
|
93 | 95 |
|
| ||
96 | 98 |
|
97 | 99 |
|
98 | 100 |
|
99 |
| - |
| 101 | + |
100 | 102 |
|
101 | 103 |
|
102 | 104 |
|
|
src/Symfony/Component/RateLimiter/Policy/Window.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/Window.php+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
| 14 | + |
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
| ||
29 | 30 |
|
30 | 31 |
|
31 | 32 |
|
| 33 | + |
32 | 34 |
|
33 | 35 |
|
34 |
| - |
| 36 | + |
35 | 37 |
|
36 | 38 |
|
37 | 39 |
|
| ||
46 | 48 |
|
47 | 49 |
|
48 | 50 |
|
49 |
| - |
| 51 | + |
50 | 52 |
|
51 | 53 |
|
52 | 54 |
|
|
src/Symfony/Component/RateLimiter/RateLimit.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/RateLimit.php+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
| 14 | + |
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
| ||
23 | 24 |
|
24 | 25 |
|
25 | 26 |
|
| 27 | + |
26 | 28 |
|
27 | 29 |
|
28 | 30 |
|
| ||
62 | 64 |
|
63 | 65 |
|
64 | 66 |
|
65 |
| - |
| 67 | + |
| 68 | + |
66 | 69 |
|
67 | 70 |
|
68 | 71 |
|
|
src/Symfony/Component/RateLimiter/RateLimiterFactory.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/RateLimiterFactory.php+6-4Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
| 14 | + |
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
| ||
32 | 33 |
|
33 | 34 |
|
34 | 35 |
|
| 36 | + |
35 | 37 |
|
36 | 38 |
|
37 | 39 |
|
| ||
45 | 47 |
|
46 | 48 |
|
47 | 49 |
|
48 |
| - |
49 |
| - |
50 |
| - |
51 |
| - |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
52 | 54 |
|
53 | 55 |
|
54 | 56 |
|
|
src/Symfony/Component/RateLimiter/Storage/InMemoryStorage.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Storage/InMemoryStorage.php+7-2Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
| 14 | + |
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
| ||
20 | 21 |
|
21 | 22 |
|
22 | 23 |
|
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
23 | 28 |
|
24 | 29 |
|
25 | 30 |
|
| ||
32 | 37 |
|
33 | 38 |
|
34 | 39 |
|
35 |
| - |
| 40 | + |
36 | 41 |
|
37 | 42 |
|
38 | 43 |
|
| ||
53 | 58 |
|
54 | 59 |
|
55 | 60 |
|
56 |
| - |
| 61 | + |
57 | 62 |
|
58 | 63 |
|
59 | 64 |
|
|
0 commit comments