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/log paginate #262

Closed
wants to merge 8 commits into from
Closed

Fix/log paginate #262

wants to merge 8 commits into from

Conversation

rickimoore
Copy link
Member

It is possible to have high amount of ERRO and CRIT logs while nodes are running. This can cause Siren to store a large amount of logs and slow down the api request, subsequently making the ssr first build slower when navigating to the main dashboard.

This pr resolves that buy creating a pagination effect for the priority logs displayed in the alerts component. By default Siren will fetch the most recent 15 logs and will allow the user to request via button. this prevents the first request from dumping 100s of logs and slowing down siren

#251

@rickimoore
Copy link
Member Author

Will take a different approach with sse instead

@rickimoore rickimoore closed this Dec 17, 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.

1 participant