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

Force exit on timeout #7

Merged
merged 1 commit into from
May 29, 2020
Merged

Force exit on timeout #7

merged 1 commit into from
May 29, 2020

Conversation

anderseknert
Copy link
Contributor

  • Force exit after 10 minutes of (in)activity in order to avoid staying in the background forever on idle as some people reported.
  • Add a sleep on the main loop to avoid hogging CPU while waiting for token.
  • Fix linter warnings about the use of fmt.Print(fmt.Sprint(..))

Closes #6.

- Force exit after 10 minutes of (in)activity in order to avoid staying in the background forever on idle as some people reported.
- Add a sleep on the main loop to avoid hogging CPU while waiting for token.
- Fix linter warnings about the use of fmt.Print(fmt.Sprint(..))

Closes #6.
main.go Show resolved Hide resolved
@anderseknert anderseknert merged commit 9334a3b into master May 29, 2020
@anderseknert anderseknert deleted the Forced-exit-on-timeout branch August 21, 2020 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Force termination after timeout
2 participants