Commit c15d76d
File tree
4 files changed
+10
-32
lines changedFilter options
- src/Symfony/Component/RateLimiter
- Policy
- Tests/Policy
4 files changed
+10
-32
lines changedsrc/Symfony/Component/RateLimiter/Policy/FixedWindowLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/FixedWindowLimiter.php+4-16Lines changed: 4 additions & 16 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
59 | 59 |
|
60 | 60 |
|
61 | 61 |
|
62 |
| - |
| 62 | + |
63 | 63 |
|
64 | 64 |
|
65 | 65 |
|
66 | 66 |
|
67 |
| - |
68 |
| - |
69 |
| - |
70 |
| - |
71 | 67 |
|
72 | 68 |
|
73 |
| - |
| 69 | + |
74 | 70 |
|
75 | 71 |
|
76 | 72 |
|
77 | 73 |
|
78 |
| - |
79 |
| - |
80 |
| - |
81 |
| - |
82 |
| - |
83 |
| - |
84 |
| - |
85 |
| - |
86 |
| - |
| 74 | + |
87 | 75 |
|
88 |
| - |
| 76 | + |
89 | 77 |
|
90 | 78 |
|
91 | 79 |
|
|
src/Symfony/Component/RateLimiter/Policy/SlidingWindowLimiter.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Policy/SlidingWindowLimiter.php+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
87 | 87 |
|
88 | 88 |
|
89 | 89 |
|
| 90 | + |
90 | 91 |
|
91 | 92 |
|
| 93 | + |
92 | 94 |
|
93 | 95 |
|
94 |
| - |
| 96 | + |
95 | 97 |
|
96 | 98 |
|
97 | 99 |
|
|
src/Symfony/Component/RateLimiter/Tests/Policy/FixedWindowLimiterTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Policy/FixedWindowLimiterTest.php-15Lines changed: 0 additions & 15 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
57 | 57 |
|
58 | 58 |
|
59 | 59 |
|
60 |
| - |
61 |
| - |
62 |
| - |
63 |
| - |
64 |
| - |
65 |
| - |
66 |
| - |
67 |
| - |
68 |
| - |
69 |
| - |
70 |
| - |
71 |
| - |
72 |
| - |
73 |
| - |
74 |
| - |
75 | 60 |
|
76 | 61 |
|
77 | 62 |
|
|
src/Symfony/Component/RateLimiter/Tests/Policy/SlidingWindowLimiterTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/RateLimiter/Tests/Policy/SlidingWindowLimiterTest.php+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
114 | 114 |
|
115 | 115 |
|
116 | 116 |
|
| 117 | + |
| 118 | + |
| 119 | + |
117 | 120 |
|
118 | 121 |
|
119 | 122 |
|
|
0 commit comments