More documentation for watch method

This commit is contained in:
Alexander Kukushkin
2015-09-16 11:09:53 +02:00
parent 7f8e95b334
commit c240fd1ee8
+2 -2
View File
@@ -185,8 +185,8 @@ class AbstractDCS:
"""If the current node is a master it should just sleep.
Any other node should watch for changes of leader key with a given timeout
:returns: `!True` if you would like reschedule next run of ha cycle
"""
:param timeout: timeout in seconds
:returns: `!True` if you would like to reschedule the next run of ha cycle"""
sleep(timeout)
return False