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

fix: optimize scheduler to reduce DB queries #946

Merged
merged 2 commits into from
May 1, 2024
Merged

Conversation

mahendraHegde
Copy link
Contributor

@mahendraHegde mahendraHegde commented Apr 30, 2024

  • merge booking related queues into 1 to reduce polling and refracted the code accordingly
  • increase polling interval to 2 mins from 2 seconds.
  • remove cron job support to avoid unnecessary polling(noScheduling:true).
  • keep old queues for backward compatible reason

@mahendraHegde mahendraHegde changed the title fix: optimize pg-boss to reduce DB queries fix: optimize scheduler to reduce DB queries Apr 30, 2024
@DonKoko DonKoko merged commit b04b239 into main May 1, 2024
4 checks passed
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