Skip to content

Commit

Permalink
Disable tag_cleanup
Browse files Browse the repository at this point in the history
Edited from the GitHub UI so not sure if it'll work, but this neuters tag_cleanup while we investigate bungie.net issues.
  • Loading branch information
bhollis authored May 8, 2024
1 parent c6b426b commit 8678231
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions api/routes/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,17 +362,18 @@ async function updateItemAnnotation(
}

async function tagCleanup(
client: ClientBase,
bungieMembershipId: number,
inventoryItemIds: string[],
_client: ClientBase,
_bungieMembershipId: number,
_inventoryItemIds: string[],
): Promise<ProfileUpdateResult> {
const start = new Date();
await deleteItemAnnotationList(
client,
bungieMembershipId,
inventoryItemIds.filter(isValidItemId),
);
metrics.timing('update.tagCleanup', start);
// TEMPORARY: Disable tag cleanup while bungie.net is being weird
//const start = new Date();
//await deleteItemAnnotationList(
// client,
// bungieMembershipId,
// inventoryItemIds.filter(isValidItemId),
//);
//metrics.timing('update.tagCleanup', start);

return { status: 'Success' };
}
Expand Down

0 comments on commit 8678231

Please sign in to comment.