HomeClusterLabs Projects

Fix: libcrmcommon: Speed up parse_op_key.

Description

Fix: libcrmcommon: Speed up parse_op_key.

If we were successful in finding exactly two underscores, pass their
locations to a special version of try_basic_match. We can copy out
the parts of the key without having to go hunting.

Having done this, the interval conversion happens in too many places so
break that out into its own function.

Details

Provenance
clumensAuthored on Oct 13 2020, 3:56 PM
Parents
rP12925399b5b8: Fix: libcrmcommon: Speed up parse_op_key.
Branches
Unknown
Tags
Unknown

Event Timeline