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

Reduce API throttle #631

Merged
merged 7 commits into from
Mar 17, 2025
Merged

Reduce API throttle #631

merged 7 commits into from
Mar 17, 2025

Conversation

dbobrenko
Copy link
Collaborator

@dbobrenko dbobrenko commented Feb 27, 2025

Changes

  • Add sleep to scoring queue to avoid blocking operations.
  • Move embedding model into ClassVar instead of global var.
  • Clean up and improve loggings.
  • Set default API and Validator addresses to localhost.
  • Add scoring queue size limit equal to 20.

@dbobrenko dbobrenko marked this pull request as ready for review March 14, 2025 15:59
@dbobrenko dbobrenko changed the title Limit API scoring queue size Reduce API throttle Mar 14, 2025
@dbobrenko dbobrenko self-assigned this Mar 14, 2025
@dbobrenko dbobrenko merged commit 4625e04 into staging Mar 17, 2025
1 check 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.

2 participants