Skip to content

Commit

Permalink
Comment says negative timeouts block forever
Browse files Browse the repository at this point in the history
  • Loading branch information
sloretz committed Oct 17, 2017
1 parent 71423c7 commit b68335b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclpy/rclpy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def wait_for_service(self, timeout_sec=None):
"""
Block until the service is available.
:param timeout_sec: Seconds to wait. Block forever if None. Don't wait if <= 0
:param timeout_sec: Seconds to wait. Block forever if None or negative. Don't wait if 0
:type timeout_sec: float or None
:rtype: bool true if the service is available
"""
Expand Down

0 comments on commit b68335b

Please sign in to comment.