]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commit
base: add local fork of admin_socket function add-timeout
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 6 Sep 2017 20:18:48 +0000 (08:18 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Wed, 6 Sep 2017 20:18:48 +0000 (08:18 +1200)
commita172330fad410d822aaae782d87b03aebbc91e68
treeeeea9c14e58c084a14d44e27fddfd79f6b849da8
parent6ba1e883d14db515dbc008285ceb96bd96c3fe6d
base: add local fork of admin_socket function

Main admin_socket call is blocking, and can therefore hang perf dump
requests. This change uses non-blocking socket call with a timeout so
the collector will not stall on a specific osd interaction
collectors/base.py