File tree
Expand file treeCollapse file tree
4 files changed
+55
-38
lines changedFilter options
- src/Symfony/Component/RateLimiter
- Policy
- Tests/Policy
Expand file treeCollapse file tree
4 files changed
+55
-38
lines changedsrc/Symfony/Component/RateLimiter/Policy/SlidingWindow.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/SlidingWindow.php+18-23Lines changed: 18 additions & 23 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
43 | 43 |
|
44 | 44 |
|
45 | 45 |
|
46 |
| - |
47 |
| - |
48 |
| - |
49 |
| - |
50 |
| - |
51 | 46 |
|
52 | 47 |
|
53 | 48 |
|
| ||
56 | 51 |
|
57 | 52 |
|
58 | 53 |
|
59 |
| - |
60 | 54 |
|
61 | 55 |
|
62 | 56 |
|
| ||
72 | 66 |
|
73 | 67 |
|
74 | 68 |
|
75 |
| - |
76 |
| - |
77 |
| - |
78 |
| - |
79 |
| - |
80 |
| - |
81 |
| - |
82 |
| - |
83 |
| - |
84 |
| - |
85 | 69 |
|
86 | 70 |
|
87 | 71 |
|
88 | 72 |
|
89 | 73 |
|
90 | 74 |
|
91 |
| - |
| 75 | + |
92 | 76 |
|
93 |
| - |
| 77 | + |
94 | 78 |
|
95 |
| - |
96 |
| - |
97 |
| - |
98 |
| - |
99 |
| - |
| 79 | + |
100 | 80 |
|
101 | 81 |
|
102 | 82 |
|
| ||
124 | 104 |
|
125 | 105 |
|
126 | 106 |
|
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
127 | 122 |
|
src/Symfony/Component/RateLimiter/Policy/TokenBucket.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/TokenBucket.php+20-14Lines changed: 20 additions & 14 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
20 | 20 |
|
21 | 21 |
|
22 | 22 |
|
23 |
| - |
24 | 23 |
|
25 | 24 |
|
26 | 25 |
|
| ||
47 | 46 |
|
48 | 47 |
|
49 | 48 |
|
50 |
| - |
51 |
| - |
52 | 49 |
|
53 | 50 |
|
54 | 51 |
|
| ||
91 | 88 |
|
92 | 89 |
|
93 | 90 |
|
94 |
| - |
95 |
| - |
96 |
| - |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
97 | 108 |
|
98 | 109 |
|
99 | 110 |
|
100 | 111 |
|
101 | 112 |
|
102 | 113 |
|
103 | 114 |
|
104 |
| - |
105 |
| - |
106 |
| - |
107 | 115 |
|
108 | 116 |
|
109 |
| - |
110 |
| - |
| 117 | + |
| 118 | + |
| 119 | + |
111 | 120 |
|
112 |
| - |
113 |
| - |
114 |
| - |
115 | 121 |
|
116 | 122 |
|
src/Symfony/Component/RateLimiter/Policy/Window.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/Window.php+15Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
85 | 85 |
|
86 | 86 |
|
87 | 87 |
|
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
88 | 103 |
|
src/Symfony/Component/RateLimiter/Tests/Policy/SlidingWindowTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Policy/SlidingWindowTest.php+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
28 | 28 |
|
29 | 29 |
|
30 | 30 |
|
| 31 | + |
31 | 32 |
|
32 |
| - |
| 33 | + |
33 | 34 |
|
34 | 35 |
|
35 | 36 |
|
|
0 commit comments