You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add 7 missing DataRetentionSettings configuration options to the compliance documentation:
- TimeBetweenBatchesMilliseconds
- RetentionIdsBatchSize
- BoardsRetentionDays
- EnableMessageDeletion
- EnableFileDeletion
- EnableBoardsDeletion
- BatchSize
These settings provide better control over data retention job execution and performance.
Fixes#8160
Co-authored-by: Carrie Warner (Mattermost) <cwarnermm@users.noreply.github.com>
:description: The time in milliseconds between batches processed during data retention job execution. Used to control the rate at which data is deleted to reduce database load. Default is 100 milliseconds.
123
+
124
+
Time between batches
125
+
~~~~~~~~~~~~~~~~~~~~~
126
+
127
+
The time in milliseconds between batches processed during data retention job execution. This setting helps control the rate at which data is deleted to reduce database load during retention operations.
:description: The number of retention IDs to process in a single batch during data retention job execution. Default is 1000.
141
+
142
+
Retention IDs batch size
143
+
~~~~~~~~~~~~~~~~~~~~~~~~~
144
+
145
+
The number of retention IDs to process in a single batch during data retention job execution. This setting controls how many items are processed together for optimal performance.
:description: Set how long Mattermost keeps boards data. Default is 0 (disabled).
159
+
160
+
Boards retention days
161
+
~~~~~~~~~~~~~~~~~~~~~
162
+
163
+
Set how long Mattermost keeps boards data. When set to a value greater than 0, boards data older than the specified number of days will be deleted during retention job execution.
:description: Enable or disable message deletion during data retention job execution. Default is true.
177
+
178
+
Enable message deletion
179
+
~~~~~~~~~~~~~~~~~~~~~~~
180
+
181
+
Enable or disable message deletion during data retention job execution. When set to false, messages will not be deleted regardless of other retention settings.
:description: Enable or disable file deletion during data retention job execution. Default is true.
195
+
196
+
Enable file deletion
197
+
~~~~~~~~~~~~~~~~~~~~
198
+
199
+
Enable or disable file deletion during data retention job execution. When set to false, files will not be deleted regardless of other retention settings.
:description: Enable or disable boards deletion during data retention job execution. Default is true.
213
+
214
+
Enable boards deletion
215
+
~~~~~~~~~~~~~~~~~~~~~~
216
+
217
+
Enable or disable boards deletion during data retention job execution. When set to false, boards data will not be deleted regardless of other retention settings.
:systemconsole: Compliance > Data Retention Policies
228
+
:configjson: .DataRetentionSettings.BatchSize
229
+
:environment: MM_DATARETENTIONSETTINGS_BATCHSIZE
230
+
:description: The number of records to process in a single batch during data retention job execution. Default is 1000.
231
+
232
+
Batch size
233
+
~~~~~~~~~~
234
+
235
+
The number of records to process in a single batch during data retention job execution. This setting controls how many records are processed together for optimal performance.
0 commit comments