Commit 64f6ac2
committed
File tree
6 files changed
+66
-8
lines changedFilter options
- src/Symfony/Component/RateLimiter
- Policy
- Tests/Policy
6 files changed
+66
-8
lines changedsrc/Symfony/Component/RateLimiter/Policy/FixedWindowLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/FixedWindowLimiter.php+5-2Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
59 | 59 |
|
60 | 60 |
|
61 | 61 |
|
62 |
| - |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
63 | 66 |
|
64 | 67 |
|
65 | 68 |
|
66 | 69 |
|
67 |
| - |
| 70 | + |
68 | 71 |
|
69 | 72 |
|
70 | 73 |
|
|
src/Symfony/Component/RateLimiter/Policy/SlidingWindowLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/SlidingWindowLimiter.php+5-4Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
69 | 69 |
|
70 | 70 |
|
71 | 71 |
|
72 |
| - |
73 |
| - |
74 |
| - |
75 |
| - |
| 72 | + |
| 73 | + |
76 | 74 |
|
77 | 75 |
|
| 76 | + |
| 77 | + |
| 78 | + |
78 | 79 |
|
79 | 80 |
|
80 | 81 |
|
|
src/Symfony/Component/RateLimiter/Policy/TokenBucketLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/TokenBucketLimiter.php+11-2Lines changed: 11 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
67 | 67 |
|
68 | 68 |
|
69 | 69 |
|
70 |
| - |
| 70 | + |
71 | 71 |
|
72 | 72 |
|
73 | 73 |
|
74 |
| - |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
75 | 84 |
|
76 | 85 |
|
77 | 86 |
|
|
src/Symfony/Component/RateLimiter/Tests/Policy/FixedWindowLimiterTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Policy/FixedWindowLimiterTest.php+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
123 | 123 |
|
124 | 124 |
|
125 | 125 |
|
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
126 | 130 |
|
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
127 | 141 |
|
128 | 142 |
|
129 | 143 |
|
|
src/Symfony/Component/RateLimiter/Tests/Policy/SlidingWindowLimiterTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Policy/SlidingWindowLimiterTest.php+16Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
31 | 31 |
|
32 | 32 |
|
33 | 33 |
|
| 34 | + |
34 | 35 |
|
35 | 36 |
|
36 | 37 |
|
| ||
82 | 83 |
|
83 | 84 |
|
84 | 85 |
|
| 86 | + |
85 | 87 |
|
86 | 88 |
|
87 | 89 |
|
88 | 90 |
|
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
89 | 95 |
|
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
90 | 106 |
|
91 | 107 |
|
92 | 108 |
|
|
src/Symfony/Component/RateLimiter/Tests/Policy/TokenBucketLimiterTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Policy/TokenBucketLimiterTest.php+15Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
134 | 134 |
|
135 | 135 |
|
136 | 136 |
|
| 137 | + |
137 | 138 |
|
138 | 139 |
|
139 | 140 |
|
140 | 141 |
|
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
141 | 146 |
|
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
142 | 157 |
|
143 | 158 |
|
144 | 159 |
|
|
0 commit comments