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

Improve performance of new events updates checker #489

Open
1 task done
bonny opened this issue Nov 23, 2024 · 2 comments
Open
1 task done

Improve performance of new events updates checker #489

bonny opened this issue Nov 23, 2024 · 2 comments
Assignees

Comments

@bonny
Copy link
Owner

bonny commented Nov 23, 2024

Currently the events-update-checker runs every 5 seconds. This is indeed very often, as reported by users. Before the React rewrite is was not as often, so maybe this is a leftover from when I was actively developing the React version and did not want to wait so long for each update 🤔 .

Some ideas:

  • Increase the default from the very low 5 seconds to something more reasonable like 30 seconds.
  • Add options to select the interval, something like "Disable, 15 seconds, 30 seconds, every minute, every 5 minutes, ..."
  • Detect if browser tab with log is in background and disable or throttle the check then

Reported here for example here:

@bonny bonny self-assigned this Nov 23, 2024
@bonny bonny closed this as completed Nov 23, 2024
@bonny bonny reopened this Nov 23, 2024
@bonny
Copy link
Owner Author

bonny commented Nov 23, 2024

The interval is updated to 30 seconds now.

Still thinking about the other options.

@bonny bonny changed the title Improve performance of new updates checker Improve performance of new events updates checker Dec 13, 2024
@fvdm
Copy link

fvdm commented Jan 10, 2025

An interval selection on the main view would be nice. When doing maintenance on the site or server I like to see exactly what people are doing. So then a short interval is preferred.

Maybe default to 30 seconds and add a 'live mode' toggle that will enforce the 5 sec interval?

One of my phone apps (Bluetooth Inspector) has the below 3-step button: pause-scan-intensive. In Simple History it could be pause - play (30s) - fast (5s).

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants