Skip to content

Commit 3e28070

Browse files
committed
Removing limit_metadata_writes
It's much less useful now, so it was just moved to the reference section
1 parent 0a0bca2 commit 3e28070

File tree

3 files changed

+10
-74
lines changed

3 files changed

+10
-74
lines changed

_build/redirection_map

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
/cookbook/psr7 /components/psr7
195195
/cookbook/request/index /request
196196
/cookbook/request/load_balancer_reverse_proxy /deployment/proxies
197-
/cookbook/request/mime_type /reference/configuration/framework#formats
197+
/cookbook/request/mime_type /reference/configuration/framework
198198
/cookbook/routing/conditions /routing/conditions
199199
/cookbook/routing/custom_route_loader /routing/custom_route_loader
200200
/cookbook/routing/debug /routing/debug
@@ -244,7 +244,8 @@
244244
/cookbook/service_container/shared /service_container/shared
245245
/cookbook/session/avoid_session_start /session/avoid_session_start
246246
/cookbook/session/index /session
247-
/cookbook/session/limit_metadata_writes /session/limit_metadata_writes
247+
/cookbook/session/limit_metadata_writes /reference/configuration/framework
248+
/session/limit_metadata_writes /reference/configuration/framework
248249
/cookbook/session/locale_sticky_session /session/locale_sticky_session
249250
/cookbook/session/php_bridge /session/php_bridge
250251
/cookbook/session/proxy_examples /session/proxy_examples

reference/configuration/framework.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -890,18 +890,19 @@ setting the value to ``null``:
890890
),
891891
));
892892
893+
.. _reference-session-metadata-update-threshold:
894+
893895
metadata_update_threshold
894896
.........................
895897

896898
**type**: ``integer`` **default**: ``0``
897899

898-
This is how many seconds to wait between two session metadata updates. It will
899-
also prevent the session handler to write if the session has not changed.
900-
901-
.. seealso::
900+
This is how many seconds to wait between updating/writing the session metadata. This
901+
can be useful if, for some reason, you want to limit the frequency at which the
902+
session persists.
902903

903-
You can see an example of the usage of this in
904-
:doc:`/session/limit_metadata_writes`.
904+
Starting in Symfony 3.4, session data is *only* written when the session data has
905+
changed. Previously, you needed to set this option to avoid that behavior.
905906

906907
assets
907908
~~~~~~

session/limit_metadata_writes.rst

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)