Skip to content

fix: set graphile fallback poll interval to 1 hr#1071

Open
amhsirak wants to merge 1 commit into
developfrom
poll-fix
Open

fix: set graphile fallback poll interval to 1 hr#1071
amhsirak wants to merge 1 commit into
developfrom
poll-fix

Conversation

@amhsirak
Copy link
Copy Markdown
Member

@amhsirak amhsirak commented May 21, 2026

Summary by CodeRabbit

  • Chores
    • Adjusted background job processing interval configuration.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 21, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 48ec5e55-a5d1-4adf-9510-3496e9b5a321

📥 Commits

Reviewing files that changed from the base of the PR and between 3263dca and fd714e6.

📒 Files selected for processing (1)
  • server/src/task-runner.ts

Walkthrough

The startWorkers() function in the task runner now configures Graphile Worker with an explicit job polling interval of 3600000 milliseconds (1 hour), overriding the default polling behavior used by the worker process.

Changes

Worker Configuration

Layer / File(s) Summary
Poll interval configuration
server/src/task-runner.ts
The run(...) call for Graphile Worker now includes pollInterval: 3600000, setting the job polling interval to 1 hour.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A worker wakes just once per hour,
No frantic polling, steady power—
Three-six-zero-zero's gentle beat,
Makes background tasks run neat! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: setting the graphile-worker poll interval to 1 hour (3600000ms), which directly matches the single-line code change in the pull request.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch poll-fix

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint skipped: no ESLint configuration detected in root package.json. To enable, add eslint to devDependencies.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant