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

High CPU usage by hydroxide imap when offline #56

Closed
dvalter opened this issue May 23, 2019 · 1 comment
Closed

High CPU usage by hydroxide imap when offline #56

dvalter opened this issue May 23, 2019 · 1 comment
Labels

Comments

@dvalter
Copy link
Contributor

dvalter commented May 23, 2019

When no connection to Protonmail is available (e.g. computer wakes up without Internet connection), hydroxide may start doing the following queries a few thousand times a second:
hydroxide[1325]: 2019/05/23 14:37:41 cannot receive event: Get https://dev.protonmail.com/api/events/u<...>A==: dial tcp: lookup dev.protonmail.com: Temporary failure in name resolution

Some sort of timeout (probably progressive) may fix this.

@emersion
Copy link
Owner

emersion commented Jun 1, 2019

Hmm. Indeed, that seems like a good idea.

@emersion emersion added the bug label Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants