From c240fd1ee87af1a5662feee308615130dac5ef2c Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Wed, 16 Sep 2015 11:09:53 +0200 Subject: [PATCH] More documentation for watch method --- patroni/dcs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patroni/dcs.py b/patroni/dcs.py index ed876de0..908386b5 100644 --- a/patroni/dcs.py +++ b/patroni/dcs.py @@ -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