Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pdp/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ func (p *PDPService) cleanup(ctx context.Context) {

var RefIDs []int64

err := db.QueryRow(ctx, `SELECT COALESCE(array_agg(ref_id), '{}') AS ref_ids
err := db.QueryRow(ctx, `SELECT COALESCE(array_agg(piece_ref), '{}') AS ref_ids
FROM pdp_piece_streaming_uploads
WHERE complete = TRUE
AND completed_at <= TIMEZONE('UTC', NOW()) - INTERVAL '60 minutes';`).Scan(&RefIDs)
Expand Down