Automatically deorphan score children on chart deorphaning, and fix multiple bugs with the deorphaning flow.

This commit is contained in:
zkldi
2021-11-11 01:20:45 +00:00
parent 8d5959a23c
commit 1958a8573f
10 changed files with 215 additions and 113 deletions
+1 -3
View File
@@ -65,9 +65,7 @@ export async function HandleOrphanQueue<I extends IDStrings>(
// If N or more people have played this chart while orphaned, unorphan
// it.
if (playcount >= queueSize) {
logger.info(
`Song ${chartName} was unorphaned by ${uniqueUsersArr.join(", ")} and ${userID}.`
);
logger.info(`Song ${chartName} was unorphaned by userIDs ${uniqueUsersArr.join(", ")}.`);
const songID = await GetNextCounterValue(`${game}-song-id`);
logger.verbose(`${chartName} has been assigned songID ${songID}.`);