HomeClusterLabs Projects

Refactor: tools: make getting stop timeout more efficient

Description

Refactor: tools: make getting stop timeout more efficient

Previously, to get a resource's stop timeout, crm_resource created a transient
instance of an action using custom_action(). However, it only needed the action
meta-attributes. Use the new parsing function to get just those, allowing us to
avoid the rest of custom_action()'s processing.

Details

Provenance
kgaillotAuthored on Oct 23 2023, 12:58 PM
Parents
rP115b81a123cd: Refactor: scheduler: make unpacking resource failures more efficient
Branches
Unknown
Tags
Unknown