Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
pacemaker.34782
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.34782
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.1.2+20211124.ada5c3b36/lib/pengine/utils.c =================================================================== --- pacemaker-2.1.2+20211124.ada5c3b36.orig/lib/pengine/utils.c +++ pacemaker-2.1.2+20211124.ada5c3b36/lib/pengine/utils.c @@ -955,7 +955,7 @@ unpack_timeout(const char *value) { int timeout_ms = crm_get_msec(value); - if (timeout_ms < 0) { + if (timeout_ms <= 0) { timeout_ms = crm_get_msec(CRM_DEFAULT_OP_TIMEOUT_S); } return timeout_ms;
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