Skip to content

Commit 365daf8

Browse files
committed
fix: remove redundant default values from settings docstrings
The default values were duplicated in the docstring prose when they are already visible from the field definitions and the generated docs.
1 parent 9673bff commit 365daf8

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

diracx-core/src/diracx/core/settings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,25 +274,25 @@ class SandboxStoreSettings(ServiceSettingsBase):
274274
"""Maximum number of connections in the S3 client connection pool.
275275
276276
Higher values allow more parallel S3 requests (e.g. during bulk sandbox
277-
deletion). Default: 50.
277+
deletion).
278278
"""
279279

280280
clean_batch_size: int = 50_000
281281
"""Number of sandbox candidates to select per batch during cleaning.
282282
283-
Each batch runs SELECT → S3 delete → DB delete sequentially. Default: 50000.
283+
Each batch runs SELECT → S3 delete → DB delete sequentially.
284284
"""
285285

286286
clean_delete_chunk_size: int = 1000
287287
"""Number of sandbox DB rows to delete per chunk during cleaning.
288288
289-
Smaller chunks mean shorter transactions and less lock contention. Default: 1000.
289+
Smaller chunks mean shorter transactions and less lock contention.
290290
"""
291291

292292
clean_max_concurrent_db_deletes: int = 10
293293
"""Maximum number of concurrent DB delete chunks during cleaning.
294294
295-
Controls parallelism of database DELETE operations. Default: 10.
295+
Controls parallelism of database DELETE operations.
296296
"""
297297

298298
_client: S3Client = PrivateAttr()

docs/admin/reference/env-variables.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,31 +155,31 @@ endpoint in job descriptions and file catalogs.
155155
Maximum number of connections in the S3 client connection pool.
156156

157157
Higher values allow more parallel S3 requests (e.g. during bulk sandbox
158-
deletion). Default: 50.
158+
deletion).
159159

160160
### `DIRACX_SANDBOX_STORE_CLEAN_BATCH_SIZE`
161161

162162
*Optional*, default value: `50000`
163163

164164
Number of sandbox candidates to select per batch during cleaning.
165165

166-
Each batch runs SELECT → S3 delete → DB delete sequentially. Default: 50000.
166+
Each batch runs SELECT → S3 delete → DB delete sequentially.
167167

168168
### `DIRACX_SANDBOX_STORE_CLEAN_DELETE_CHUNK_SIZE`
169169

170170
*Optional*, default value: `1000`
171171

172172
Number of sandbox DB rows to delete per chunk during cleaning.
173173

174-
Smaller chunks mean shorter transactions and less lock contention. Default: 1000.
174+
Smaller chunks mean shorter transactions and less lock contention.
175175

176176
### `DIRACX_SANDBOX_STORE_CLEAN_MAX_CONCURRENT_DB_DELETES`
177177

178178
*Optional*, default value: `10`
179179

180180
Maximum number of concurrent DB delete chunks during cleaning.
181181

182-
Controls parallelism of database DELETE operations. Default: 10.
182+
Controls parallelism of database DELETE operations.
183183

184184
## OTELSettings
185185

0 commit comments

Comments
 (0)