BOINC / boinc

Open-source software for volunteer computing and grid computing.
https://boinc.berkeley.edu
GNU Lesser General Public License v3.0
2.03k stars 449 forks source link

"In Use" and "Not In Use" suspension preferences could prevent computing indefinitely #4939

Open Vulpine05 opened 2 years ago

Vulpine05 commented 2 years ago

Describe the bug BOINC has the option to suspend computer usage in two ways: When the computer is in use (IU), and when it is not in use (NIU). It is possible to enable suspension for both IU and NIU at the same time. It is also possible to set the values for each such that BOINC will never work on any tasks.

Steps To Reproduce

  1. Open BOINC Manager->Options->Preferences.
  2. Set IU time to 0.08, and NIU to 0.05 minutes. Save changes.

Expected behavior A message should let the user know to change the settings, and these settings should not be saved.

System Information

Additional context This bug can occur in three locations:

Vulpine05 commented 2 years ago

I had started working on the Manger change via #4634. I should be able to fix this in the Manager and Client. I think the fix for the client will prevent any web preferences from propagating to a client, but having an error message when saving web preferences would be better.

With that said, I am not familiar with php. Also, even if I figure out how to fix it via web, I don't know how to test and verify. If anyone is willing and able to do one or the other, please let me know.

davidpanderson commented 2 years ago

I don't think this is necessary.

Vulpine05 commented 1 year ago

This issue has one more item that hasn't been completed. I cannot reopen the issue. @davidpanderson, could you reopen please?

RichardHaselgrove commented 1 year ago

Happened to catch your message while I was at a screen.