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: fix fe code to not make requests when validating cache #720

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

StrongMonkey
Copy link
Contributor

@StrongMonkey StrongMonkey commented Nov 27, 2024

Don't make API requests when manually validating cache data. This is causing problem when ingesting large amount of files, as it is making too many requests in the server which cause server to load up. The knowledge files are stored in a same database withe default namespace so there is no index when retrieving them from database.

Also cut the interval from 1 second to 5 seconds to avoid putting too much load to server.

https://github.com/otto8-ai/otto8/issues/558

@StrongMonkey StrongMonkey merged commit 24cf54d into obot-platform:main Dec 2, 2024
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.

3 participants