Skip to content

Commit 8b72f77

Browse files
committed
chore: no longer use backup round sin s3
1 parent c0e31bb commit 8b72f77

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

src/matches/jobs/RemoveCancelledMatches.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -76,23 +76,6 @@ export class RemoveCancelledMatches extends WorkerHost {
7676
},
7777
});
7878
}
79-
80-
for (const round of matchMap.rounds) {
81-
await this.s3Service.remove(round.backup_file);
82-
await this.hasura.mutation({
83-
update_match_map_rounds_by_pk: {
84-
__args: {
85-
pk_columns: {
86-
id: round.id,
87-
},
88-
_set: {
89-
backup_file: null,
90-
},
91-
},
92-
__typename: true,
93-
},
94-
});
95-
}
9679
}
9780

9881
await this.hasura.mutation({

0 commit comments

Comments
 (0)