Skip to content

Commit

Permalink
fix cron schedules
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Erwin committed Aug 30, 2024
1 parent c8fef3d commit 984a0a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/src/opensea/opensea.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class OpenseaService {
) {}

// Update OpenSea prices every 2 hours
@Cron("* */2 * * *")
@Cron("0 */2 * * *")
@UseRequestContext()
async updateOpenSeaPrices() {
if (!this.updatingOpenSeaPrices) {
Expand Down
2 changes: 1 addition & 1 deletion backend/src/renderer/renderer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class RendererService {
@Inject(CACHE_MANAGER) private cacheManager: Cache,
) {}

@Cron('1 * * * * *')
@Cron('0 */30 * * * *')
@UseRequestContext()
async renderImages() {
if (!this.currentlyReadingImages) {
Expand Down

0 comments on commit 984a0a4

Please sign in to comment.