Deletes old telemetry locks from the telemetry_locks table.
(ctx context.Context, periodEndingAtBefore time.Time)
| 197 | DeleteOldProvisionerDaemons(ctx context.Context) error |
| 198 | // Deletes old telemetry locks from the telemetry_locks table. |
| 199 | DeleteOldTelemetryLocks(ctx context.Context, periodEndingAtBefore time.Time) error |
| 200 | // If an agent hasn't connected within the retention period, we purge its logs. |
| 201 | // Exception: if the logs are related to the latest build, we keep those around. |
| 202 | // Logs can take up a lot of space, so it's important we clean up frequently. |
no outgoing calls