Skip to content

Commit dc1ed0b

Browse files
committed
Add information about profile auto-cleanup
1 parent f0b7d2a commit dc1ed0b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

console/calling_commands.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ method)::
5858

5959
.. note::
6060

61-
Most of the times, calling a command from code that is not executed on the
61+
Most of the time, calling a command from code that is not executed on the
6262
command line is not a good idea. The main reason is that the command's
6363
output is optimized for the console and not to be passed to other commands.

profiler.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,19 @@ Symfony Profiler, which will look like this:
3535
in the ``X-Debug-Token-Link`` HTTP response header. Browse the ``/_profiler``
3636
URL to see all profiles.
3737

38+
.. versionadded:: 6.3
39+
40+
Profile garbage collection was introduced in Symfony 6.3.
41+
42+
.. note::
43+
44+
To limit the storage used by profiles on disk, they are probabilistically
45+
removed after 2 days.
46+
3847
Accessing Profiling Data Programmatically
3948
-----------------------------------------
4049

41-
Most of the times, the profiler information is accessed and analyzed using its
50+
Most of the time, the profiler information is accessed and analyzed using its
4251
web-based interface. However, you can also retrieve profiling information
4352
programmatically thanks to the methods provided by the ``profiler`` service.
4453

0 commit comments

Comments
 (0)