Skip to content

Commit 1a13329

Browse files
committed
fix(service): stop clone-propagating thegamesdb matches across regional sku rows
1 parent c283d4d commit 1a13329

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • service/src/providers/thegamesdb/matching

service/src/providers/thegamesdb/matching/game.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,17 @@ pub async fn match_games_to_thegamesdb(
7575
Ok(())
7676
}
7777

78+
// TGDB stores a separate row per regional release (for example the iQue
79+
// Chinese Super Mario 64 DS is id 105388, while the world release is 110420).
80+
// Cross-clone propagation would let a region-specific child match stamp the
81+
// parent (or a world-release parent stamp every regional child), so clones
82+
// match independently here instead of going through drive_clone_propagation.
7883
fn match_clone_of_game_to_thegamesdb(
7984
game: Model,
8085
client: Arc<TheGamesDbClient>,
8186
db_conn: DbConn,
8287
) -> BoxFuture<'static, anyhow::Result<()>> {
83-
Box::pin(crate::providers::drive_clone_propagation(
84-
game,
85-
client,
86-
db_conn,
87-
match_game_to_thegamesdb,
88-
))
88+
match_game_to_thegamesdb(game, client, db_conn)
8989
}
9090

9191
#[derive(Clone)]

0 commit comments

Comments
 (0)