mirror of
https://github.com/quay/quay.git
synced 2025-07-28 20:22:05 +03:00
fix all the docstrings
This commit is contained in:
@ -21,7 +21,9 @@ class BlobUploadCleanupWorker(Worker):
|
||||
self.add_operation(self._cleanup_uploads, BLOBUPLOAD_CLEANUP_FREQUENCY)
|
||||
|
||||
def _cleanup_uploads(self):
|
||||
""" Performs garbage collection on the blobupload table. """
|
||||
"""
|
||||
Performs garbage collection on the blobupload table.
|
||||
"""
|
||||
while True:
|
||||
# Find all blob uploads older than the threshold (typically a week) and delete them.
|
||||
with UseThenDisconnect(app.config):
|
||||
|
Reference in New Issue
Block a user