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

@lestrrat lestrrat commented Mar 17, 2017

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

@h13i32maru h13i32maru commented Apr 22, 2017

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

@lestrrat lestrrat commented Apr 22, 2017

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

@h13i32maru
Copy link
Member

@h13i32maru h13i32maru commented Apr 22, 2017

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

@lestrrat lestrrat commented Apr 22, 2017

Booo. darwin--------

@h13i32maru
Copy link
Member

@h13i32maru h13i32maru commented Jul 18, 2018

This problem was fixed with v0.6.0 👍

@h13i32maru h13i32maru closed this Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants