Skip to content

Commit

Permalink
✔ Fix Cron ~
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed May 28, 2023
1 parent 851d54a commit ed6ae60
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/fansubid/browser/ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1685238481323,
"timestamp": 1685239272946,
"index": "/index.html",
"assetGroups": [
{
Expand Down
2 changes: 1 addition & 1 deletion dist/fansubid/server/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/api/scheduler/sitemap-tasks.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class SitemapService {
}
});
for (const f of fansub) {
this.untrackedUrlsListFansub.push(`${environment.baseUrl}/fansub/${f.id}`);
this.untrackedUrlsListFansub.push(`${environment.baseUrl}/fansub/${f.slug}`);
}
}

Expand All @@ -78,7 +78,7 @@ export class SitemapService {
}

@Cron(
CronExpression.EVERY_5_MINUTES,
CronExpression.EVERY_HOUR,
{
name: CONSTANTS.cronSitemap
}
Expand Down
2 changes: 1 addition & 1 deletion src/api/scheduler/tracker-statistics-tasks.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class TrackerStatisticsService {
}

@Cron(
CronExpression.EVERY_10_SECONDS,
CronExpression.EVERY_MINUTE,
{
name: CONSTANTS.cronTrackerStatistics
}
Expand Down

0 comments on commit ed6ae60

Please sign in to comment.