Add cleaning for integration test devices to remove DB entries

This commit is contained in:
David Dworken
2024-02-19 11:50:12 -08:00
parent 972170573a
commit 22d43098fe
2 changed files with 47 additions and 2 deletions

View File

@ -107,7 +107,6 @@ func OpenDB() (*database.DB, error) {
var LAST_USER_STATS_RUN = time.Unix(0, 0)
var LAST_DEEP_CLEAN = time.Unix(0, 0)
// TODO: Update this to delete entries from integration test devices, as long as they are inactive
func cron(ctx context.Context, db *database.DB, stats *statsd.Client) error {
// Determine the latest released version of hishtory to serve via the /api/v1/download
// endpoint for hishtory updates.