buildgrid.server.cleanup.janitor.sql module

buildgrid.server.cleanup.janitor.sql.get_sha256_buckets() list[tuple[str, str]]
class buildgrid.server.cleanup.janitor.sql.SQLJanitor(sqlStorageConfig: SQLStorageConfig, index: IndexLookup)

Bases: object

delete_digests(digests: set[str]) int
cleanup_bucket(bucket: tuple[str, str]) None
start() None
wait() None
stop(*args: Any, **kwargs: Any) None
run(stop_requested: Event) None