Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
pacemaker
pacemaker#3409-0003-Fix-scheduler-use-default-t...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker#3409-0003-Fix-scheduler-use-default-timeout-20s-if-user-config.patch of Package pacemaker
From 0638f40825188400e180f3e91e0521050ce4c2d8 Mon Sep 17 00:00:00 2001 From: Ken Gaillot <kgaillot@redhat.com> Date: Tue, 2 Apr 2024 11:27:57 -0500 Subject: [PATCH 3/3] Fix: scheduler: use default timeout (20s) if user configures 0 The existing behavior varies greatly depending on numerous criteria. The documented default is 20s, so we should stick with that. --- lib/pengine/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: pacemaker-2.0.4+20200616.2deceaa3a/lib/pengine/utils.c =================================================================== --- pacemaker-2.0.4+20200616.2deceaa3a.orig/lib/pengine/utils.c +++ pacemaker-2.0.4+20200616.2deceaa3a/lib/pengine/utils.c @@ -866,7 +866,7 @@ unpack_timeout(const char *value) { int timeout = crm_get_msec(value); - if (timeout < 0) { + if (timeout <= 0) { timeout = crm_get_msec(CRM_DEFAULT_OP_TIMEOUT_S); } return timeout;
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