[obs-commits] [openSUSE/open-build-service] 33395c: [backend] also check the time to decide that the d...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 33395cbb1fee4ea1a666d99f7f1579c9e9b0ba00 https://github.com/openSUSE/open-build-service/commit/33395cbb1fee4ea1a666d9... Author: Michael Schroeder <mls@suse.de> Date: 2020-11-10 (Tue, 10 Nov 2020) Changed paths: M src/backend/bs_dispatch Log Message: ----------- [backend] also check the time to decide that the dispatcher loop needs restarting We used to restart after 50 job assignments to account for freshly created jobs. This leads to too many restarts, but increasing the limit is also bad if assigning takes too long. So also take the time spent in job assigning into account and only restart if at least one minute has passed. Commit: ac45bfbdcfd2c3df915bdebbd2f3771741ffe580 https://github.com/openSUSE/open-build-service/commit/ac45bfbdcfd2c3df915bde... Author: Michael Schroeder <mls@suse.de> Date: 2020-11-10 (Tue, 10 Nov 2020) Changed paths: M src/backend/bs_dispatch Log Message: ----------- Merge pull request #10418 from mlschroe/master [backend] also check the time to decide that the dispatcher loop need… Compare: https://github.com/openSUSE/open-build-service/compare/c4adb6f59361...ac45bf...
participants (1)
-
Michael Schroeder