Skip to content

removing the api call every minute during a match#162

Merged
dmbf29 merged 1 commit into
mainfrom
api-schedule
Jun 23, 2026
Merged

removing the api call every minute during a match#162
dmbf29 merged 1 commit into
mainfrom
api-schedule

Conversation

@dmbf29

@dmbf29 dmbf29 commented Jun 23, 2026

Copy link
Copy Markdown
Owner

No description provided.

@dmbf29 dmbf29 requested a review from Copilot June 23, 2026 08:08
@dmbf29 dmbf29 self-assigned this Jun 23, 2026
@dmbf29 dmbf29 added the enhancement New feature or request label Jun 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reduces background load during matches by removing the per-minute scheduling of match update jobs from the daily task scheduler.

Changes:

  • Removed enqueuing MatchUpdateJob 150 times per match kickoff time (previously every minute).
  • Left existing kickoff-time scheduling (MatchStartedJob) and prediction-missing notifications unchanged.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/jobs/schedule_daily_tasks_job.rb
@dmbf29 dmbf29 merged commit de2edcc into main Jun 23, 2026
1 check passed
@dmbf29 dmbf29 deleted the api-schedule branch June 23, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants