Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: option to disable scheduler in WorkerPool #2059

Closed
wants to merge 2 commits into from

Conversation

ankush
Copy link
Contributor

@ankush ankush commented Mar 16, 2024

Adds flag mentioned here: #2027 (comment)

Why do this?
We have our own scheduler, so we'd prefer to not enable RQ's scheduler until we have migrated to it. This PR just helps avoid some overhead from the scheduler process.

TODO:

  • test manually
  • update docs
  • add test

Copy link

codecov bot commented Mar 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.90%. Comparing base (34f83d6) to head (a953d29).
Report is 46 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2059      +/-   ##
==========================================
+ Coverage   93.61%   93.90%   +0.28%     
==========================================
  Files          28       30       +2     
  Lines        3758     3969     +211     
==========================================
+ Hits         3518     3727     +209     
- Misses        240      242       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ankush ankush force-pushed the optional_scheduler branch 3 times, most recently from 5390a72 to 7a178aa Compare March 16, 2024 11:43
@ankush ankush marked this pull request as ready for review March 16, 2024 11:45
docs/docs/workers.md Outdated Show resolved Hide resolved
@ankush
Copy link
Contributor Author

ankush commented Apr 8, 2024

@selwin anything left from my side? 👀

tests/test_cli.py Outdated Show resolved Hide resolved
@selwin
Copy link
Collaborator

selwin commented Apr 12, 2024

Sorry for the delayed response, just left a minor comment.

@ankush
Copy link
Contributor Author

ankush commented May 15, 2024

Reopen if required, closing for now.

@ankush ankush closed this May 15, 2024
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.

None yet

2 participants