Skip to content

Commit

Permalink
todo extension
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jun 30, 2024
1 parent d856b12 commit 127d541
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/usecases/beatmaps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub async fn fetch_beatmap_osu_file(
// 3. checking if the file in s3 is older than the last updated date
// 4. if it is, updating both the .osu file as well as the beatmaps in db
// 5. ensuring all other updates in the ecosystem are updating both the .osu file and the beatmaps in db
// 6. considering a backfill of all existing beatmaps, or a jit system to update ones in s3 with unmarked update dates
let existing_file = match context.bucket.get_object(beatmap_path).await {
Ok(existing_file) => Ok(Some(existing_file)),
Err(S3Error::Http(status_code, _)) if status_code == 404 => Ok(None),
Expand Down

0 comments on commit 127d541

Please sign in to comment.