HomeClusterLabs Projects

Fix: tools: restore crmadmin default timeout to 30 seconds
6506a0bff33eUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix: tools: restore crmadmin default timeout to 30 seconds

Regression introduced in 2.1.5 via a6ec43e

That commit switched to using synchronous (blocking) IPC when timeout
was set to 0 (the default, which previously meant use 30s). That was
a change in behavior that was a bad idea if someone is calling it in a
script.

This still allows the user to explicitly specify --timeout=0 to get the
blocking behavior.

Details

Provenance
kgaillotAuthored on Wed, Oct 16, 12:45 PM
Parents
rPe496779ee1a9: Low: libcrmcommon: any negative interval is an error
Branches
Unknown
Tags
Unknown

Event Timeline