This commit is contained in:
2025-12-13 11:14:18 +03:30
parent 3eb6b889a4
commit c25a5afe01
80 changed files with 440 additions and 190 deletions
@@ -69,12 +69,9 @@ export class FoodRatingCronService {
// Flush all updates at once for better performance
await this.em.flush();
this.logger.log(
`Food rating calculation completed. Updated: ${updatedCount}, Errors: ${errorCount}`,
);
this.logger.log(`Food rating calculation completed. Updated: ${updatedCount}, Errors: ${errorCount}`);
} catch (error) {
this.logger.error(`Error in food rating cron job: ${error.message}`, error.stack);
}
}
}