Skip to content

Commit

Permalink
⚙️ chore: 시연에서 랭킹 업데이트를 보여주기 위해 cron 동작 시간 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuo3o committed Nov 28, 2024
1 parent d64715d commit c5b90b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BE/src/ranking/ranking.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class RankingService {
};
}

@Cron('0 16 * * 1-5')
@Cron('*/1 8-16 * * 1-5')
async updateRanking() {
const [profitRateRanking, assetRanking] = await Promise.all([
this.calculateRanking(SortType.PROFIT_RATE),
Expand Down

0 comments on commit c5b90b7

Please sign in to comment.