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 artificial wait times #597

Open
Cafe137 opened this issue Dec 5, 2022 · 1 comment
Open

Reduce artificial wait times #597

Cafe137 opened this issue Dec 5, 2022 · 1 comment

Comments

@Cafe137
Copy link
Collaborator

Cafe137 commented Dec 5, 2022

e.g. LightModeRestart.tsx:

if (Date.now() - startedAt < 45_000) {
  return
}

When restarting, we also wait 5s

IMO these are no longer necessary, or can be way shorter

@bee-runner bee-runner bot added the type:issue label Dec 5, 2022
@agazso
Copy link
Member

agazso commented Dec 5, 2022

This would be better to be based on the state returned by the desktop app endpoint rather than an arbitrary wait time.

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