Commit b636e66
File tree
2 files changed
+43
-3
lines changedFilter options
- src/Symfony/Component/RateLimiter
- Policy
- Tests/Strategy
2 files changed
+43
-3
lines changedsrc/Symfony/Component/RateLimiter/Policy/SlidingWindow.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/SlidingWindow.php+7-3Lines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
63 | 63 |
|
64 | 64 |
|
65 | 65 |
|
66 |
| - |
67 |
| - |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
68 | 72 |
|
69 | 73 |
|
70 | 74 |
|
| ||
112 | 116 |
|
113 | 117 |
|
114 | 118 |
|
115 |
| - |
| 119 | + |
116 | 120 |
|
117 | 121 |
|
118 | 122 |
|
|
src/Symfony/Component/RateLimiter/Tests/Strategy/SlidingWindowTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Strategy/SlidingWindowTest.php+36Lines changed: 36 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
12 | 12 |
|
13 | 13 |
|
14 | 14 |
|
| 15 | + |
15 | 16 |
|
16 | 17 |
|
17 | 18 |
|
| 19 | + |
| 20 | + |
| 21 | + |
18 | 22 |
|
19 | 23 |
|
20 | 24 |
|
| ||
36 | 40 |
|
37 | 41 |
|
38 | 42 |
|
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
39 | 75 |
|
0 commit comments