Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:llunak:my
icecream
l-no-scheduler-only-warning.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File l-no-scheduler-only-warning.patch of Package icecream
From f4b74a0f0d3ad43a0928ad65a940259f780811d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= <l.lunak@centrum.cz> Date: Mon, 30 May 2022 08:44:31 +0200 Subject: [PATCH] downgrade message about no scheduler to a warning While not having a scheduler should not be the usual case, it's still perfectly fine not to have a scheduler and have just the local daemon deal with a local build. This function gets called unconditionally e.g. when a job finishes, and so the log will get spammed by these messages even though not having a scheduler is not an error. --- daemon/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/main.cpp b/daemon/main.cpp index 0f77817..8203070 100644 --- a/daemon/main.cpp +++ b/daemon/main.cpp @@ -809,7 +809,7 @@ void Daemon::determine_supported_features() bool Daemon::send_scheduler(const Msg& msg) { if (!scheduler) { - log_error() << "scheduler dead ?!" << endl; + log_warning() << "no scheduler" << endl; return false; } -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor