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

Jasper doesn't re-start after coming back from sleep? #32

Closed
lestrrat opened this issue Mar 17, 2017 · 5 comments
Closed

Jasper doesn't re-start after coming back from sleep? #32

lestrrat opened this issue Mar 17, 2017 · 5 comments

Comments

@lestrrat
Copy link

image

I used my Mac at home around 6:00 am-ish, closed it to and put it to sleep mode, then came to the office at around 8:40. No activity from Jasper in the last hour :(

@h13i32maru
Copy link
Member

This is a bug, however I do not know a cause in long time😢

A workaround is a restarting streams. Please check it.
2017-04-22 10 04 06

@lestrrat
Copy link
Author

Maybe you can have a long running timer that periodically checks if the streams area connected?

@h13i32maru
Copy link
Member

It may be possible, however the timer also stop. Because a streams polling is implemented same timer.

for now, Jasper restart all stream with the following code when power monitor is resumed. But this bug is not solved. I think that the cause is not sleep and power save.

  electron.powerMonitor.on('resume', restartAllStreams);

I will continue to inspect this bug.

@lestrrat
Copy link
Author

Booo. darwin--------

@h13i32maru
Copy link
Member

This problem was fixed with v0.6.0 👍

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