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

swaybar date update command can cause endless sleepless loop #988

Closed
johalun opened this issue Dec 13, 2016 · 2 comments
Closed

swaybar date update command can cause endless sleepless loop #988

johalun opened this issue Dec 13, 2016 · 2 comments

Comments

@johalun
Copy link
Contributor

johalun commented Dec 13, 2016

https://github.com/SirCmpwn/sway/blob/5778c59a2f302071fd781683db57a97b51396c87/sway/config.c#L1213

Don't remember exactly the circumstances but a problem I got a few times is that during testing/development is that date can start to fail. If that happens this will be a sleepless tight loop, causing heavy cpu usage. Even though this does not happen often, it might be good to exchange && for ; so that we'll always get a second sleep.

@ddevault
Copy link
Contributor

Seems like an easy change, send a pull request?

@johalun
Copy link
Contributor Author

johalun commented Dec 14, 2016

Yep will do

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

No branches or pull requests

2 participants