]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
admin_socket: fix busy loop
authorSage Weil <sage.weil@dreamhost.com>
Sun, 24 Jul 2011 22:04:09 +0000 (15:04 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Sun, 24 Jul 2011 22:04:09 +0000 (15:04 -0700)
commitb98d7650aad28f07579b0f8f529dcd23dbb09466
tree7c24506f0991b2feb54c6f2ca3bfda0abbf95e78
parentda689c068617abdf7690e20d49ee9a8b65dbe197
admin_socket: fix busy loop

Passing timeout==0 will return immediately.  Pass -1 to block until
interesting happens.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/common/admin_socket.cc