Files
pacemaker/pacemaker#3854-0001-remote.in-Add-a-default-interval-value-for-monitor-a.patch

35 lines
1.1 KiB
Diff

From 438b66c68760df318551ce34068278ca8be3917d Mon Sep 17 00:00:00 2001
From: xin liang <xliang@suse.com>
Date: Tue, 25 Mar 2025 20:23:34 +0800
Subject: [PATCH] remote.in: Add a default interval value for monitor action
---
agents/ocf/remote.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/agents/ocf/remote.in b/agents/ocf/remote.in
index 048b504344..8541d0e18e 100755
--- a/agents/ocf/remote.in
+++ b/agents/ocf/remote.in
@@ -2,7 +2,7 @@
#
# ocf:pacemaker:remote OCF resource agent
#
-# Copyright 2013-2023 the Pacemaker project contributors
+# Copyright 2013-2025 the Pacemaker project contributors
#
# The version control history for this file may have further details.
#
@@ -56,7 +56,7 @@ meta_data() {
<actions>
<action name="start" timeout="60s" />
<action name="stop" timeout="60s" />
- <action name="monitor" timeout="30s" />
+ <action name="monitor" timeout="30s" interval="30s" />
<action name="migrate_to" timeout="60s" />
<action name="migrate_from" timeout="60s" />
<action name="reload" timeout="60s" />
--
2.43.0