HomeClusterLabs Projects

Fix: libpacemaker: Timeouts should be in ms, given as an unsigned int.

Description

Fix: libpacemaker: Timeouts should be in ms, given as an unsigned int.

Eventually, we'd like timeouts throughout public APIs to be
milliseconds. This starts that by accepting ms for the new API
functions and converting them to seconds before passing them in to
stonith commands. Should the stonith commands later be converted to
take ms, it would be easy to modify these calls to adapt.

This also applies to the tolerance parameter.

Details

Provenance
clumensAuthored on Jan 3 2020, 12:44 PM
Parents
rPf0c484f10216: Refactor: tools: Remove code in stonith_admin.c.
Branches
Unknown
Tags
Unknown

Event Timeline