]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/ceph_argparse.py: use a safe value for timeout
authorKefu Chai <kchai@redhat.com>
Sun, 20 Dec 2020 05:10:16 +0000 (13:10 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 20 Dec 2020 17:26:46 +0000 (01:26 +0800)
commite59693fd96c34672c4c743514bd173fc70a3a544
tree9957f1bfc9f4bd78652de9aedc2544883bc2da70
parent6fc27237f08bf60a2403d2edb45ef6c0b1d95399
pybind/ceph_argparse.py: use a safe value for timeout

we have reports that on arm32 machines, it timed out immediately, so
to prevent it from int overflow, use a safer value instead of
(1 << (32 - 1)) - 1.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/ceph_argparse.py