-
Notifications
You must be signed in to change notification settings - Fork 159
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
Sleep(10) #74
Comments
It is decleared here Line 226 in 124239d
|
rfjakob
added a commit
that referenced
this issue
Jul 6, 2018
10 seconds may be too long, and 1 message / sec is okay in terms of log spam. I decided to NOT use a #define for the value, because then several literal strings would have to be replaced with snprintf. Not worth it. #74
I went for one second. Good enough to limit log spam. |
Users don't read code. It is not in docs. Users don't warned that earlyoom may sleep(10) before earlyoom started. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Closed too early. The discussion should be continued.
Firstly, sleep(10) not declared and users are not warned.
Secondly, sleep(10) is too long, sleep(3) is enough.
The text was updated successfully, but these errors were encountered: