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

Move to golang ExternalNow or a similar API #18

Closed
kazrakcom opened this issue Jan 19, 2022 · 1 comment
Closed

Move to golang ExternalNow or a similar API #18

kazrakcom opened this issue Jan 19, 2022 · 1 comment
Labels
blocked Blocked on external dependencies enhancement

Comments

@kazrakcom
Copy link
Collaborator

The code currently avoids oversleeping due to machine sleep by not sleeping for more than 5 minutes at a time - decidedly suboptimal.

The ideal solution would be to use the ExternalNow API when it's available: golang/go#36141

Alternate solutions include using Unix nanosleep or similar.

@kazrakcom kazrakcom added the blocked Blocked on external dependencies label Dec 1, 2022
@kazrakcom
Copy link
Collaborator Author

This will be obsoleted by #60, which changes how the polling happens in a way that doesn't need this any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked on external dependencies enhancement
Projects
None yet
Development

No branches or pull requests

1 participant