File tree 4 files changed +9
-5
lines changed
4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -816,7 +816,9 @@ the right situation:
816
816
but the overrides only apply to one environment.
817
817
818
818
*Real * environment variables always win over env vars created by any of the
819
- ``.env `` files.
819
+ ``.env `` files. This behavior depends on
820
+ `variables_order <http://php.net/manual/en/ini.core.php#ini.variables-order >`_ to
821
+ contain an ``E `` to expose the ``$_ENV `` superglobal.
820
822
821
823
The ``.env `` and ``.env.<environment> `` files should be committed to the
822
824
repository because they are the same for all developers and machines. However,
Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ squares).
44
44
<object data =" _images/rate_limiter/fixed_window.svg" type =" image/svg+xml" ></object >
45
45
46
46
Its main drawback is that resource usage is not evenly distributed in time and
47
- it can overload the server at the window edges. In the previous example,
47
+ it can overload the server at the window edges. In this example,
48
48
there were 6 accepted requests between 11:00 and 12:00.
49
49
50
50
This is more significant with bigger limits. For instance, with 5,000 requests
51
- per hour, a user could make the 4,999 requests in the last minute of some
51
+ per hour, a user could make 4,999 requests in the last minute of some
52
52
hour and another 5,000 requests during the first minute of the next hour,
53
53
making 9,999 requests in total in two minutes and possibly overloading the
54
54
server. These periods of excessive usage are called "bursts".
Original file line number Diff line number Diff line change @@ -1655,8 +1655,10 @@ Use the ``RedirectController`` to redirect to other routes and URLs:
1655
1655
# * for temporary redirects, it uses the 307 status code instead of 302
1656
1656
# * for permanent redirects, it uses the 308 status code instead of 301
1657
1657
keepRequestMethod : true
1658
- # add this to remove the original route attributes when redirecting
1658
+ # add this to remove all original route attributes when redirecting
1659
1659
ignoreAttributes : true
1660
+ # or specify which attributes to ignore:
1661
+ # ignoreAttributes: ['offset', 'limit']
1660
1662
1661
1663
legacy_doc :
1662
1664
path : /legacy/doc
Original file line number Diff line number Diff line change @@ -1088,7 +1088,7 @@ with the ``default_index_method`` attribute on the tagged argument:
1088
1088
<!-- use getIndex() instead of getDefaultIndexName() -->
1089
1089
<argument type =" tagged_iterator"
1090
1090
tag =" app.handler"
1091
- default-index-method =" someFunctionName "
1091
+ default-index-method =" getIndex "
1092
1092
/>
1093
1093
</service >
1094
1094
</services >
You can’t perform that action at this time.
0 commit comments