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

Comments

Projects
None yet
2 participants
@lestrrat
Copy link

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

This comment has been minimized.

Copy link
Member

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

This comment has been minimized.

Copy link
Author

lestrrat commented Apr 22, 2017

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

@h13i32maru

This comment has been minimized.

Copy link
Member

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

This comment has been minimized.

Copy link
Author

lestrrat commented Apr 22, 2017

Booo. darwin--------

@h13i32maru

This comment has been minimized.

Copy link
Member

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
You can’t perform that action at this time.