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

[ENHANCEMENT] [UI] Changing default request limit in new UI #940

Open
Tracked by #1146 ...
s3inlc opened this issue Jun 28, 2023 · 0 comments
Open
Tracked by #1146 ...

[ENHANCEMENT] [UI] Changing default request limit in new UI #940

s3inlc opened this issue Jun 28, 2023 · 0 comments
Assignees
Labels
enhancement Enhancement of existing features / Small addition ui Hashtopolis UI related

Comments

@s3inlc
Copy link
Member

s3inlc commented Jun 28, 2023

When sending queries for hashes, tasks, etc. the UI always sets the max to 3000. Depending on the hashes (e.g. archive hashes) this quickly can lead into memory limit exceeding on the server side when it loads the up to 3000 hashes at once.

The UI should not request so many hashes (or other entries) at once, but doing multiple queries (with ranges) after each other if it wants to process all hashes (e.g. for the dashboard page). A limit of something between 100 and 500 would make more sense. Otherwise, also the tasks page is not really loading any faster than the old interface where it just loads all tasks (as long as there are less than 3000 tasks).

EDIT: just a side note regarding when having the UI running with this. When staying on the dashboard page for a longer time with these errors in the background, it stops working completely at some point as it gets the 500 errors for the queries every time it updates. Also the limit on the server for the memory limit (which is reached) is set to 256MB.

@s3inlc s3inlc added enhancement Enhancement of existing features / Small addition ui Hashtopolis UI related labels Jun 28, 2023
@zyronix zyronix changed the title [ENHANCEMENT] [UI] [ENHANCEMENT] [UI] Changing default request limit in new UI Jul 13, 2023
@zyronix zyronix moved this to 📋 Backlog in Development Plans Jul 13, 2023
@s3inlc s3inlc moved this to ⏳🙄 Waiting for in 🚀 1.0 Release Sep 27, 2024
@ObsidianOracle ObsidianOracle moved this to ⏳🙄 Waiting for in 🍺 Sprint November '24 Nov 6, 2024
@ObsidianOracle ObsidianOracle moved this from ⏳🙄 Waiting for to 🧐 Review in 🍺 Sprint November '24 Dec 4, 2024
@ObsidianOracle ObsidianOracle moved this from 🧐 Review to 📝 Todo in 🍺 Sprint November '24 Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing features / Small addition ui Hashtopolis UI related
Projects
Status: 📝 Todo
Status: 📝 Todo
Status: 📝 Todo
Status: ⏳🙄 Waiting for
Development

No branches or pull requests

2 participants