summaryrefslogtreecommitdiff
path: root/templates
diff options
authorMario Splivalo <mario.splivalo@canonical.com>2018-03-15 14:07:39 +0100
committerMario Splivalo <mario.splivalo@canonical.com>2018-03-15 14:07:39 +0100
commite652517adca3334cb88cb17b0d33fb619c70bc0c (patch)
treeaf51b9161b6892343c3556665d425be1cbb41c01 /templates
parentf8bb79791cefd33d1e96281b4f5162f428c80006 (diff)
Made config-changed and replicaset-relation-changed hook wait.
As members are joined to replicaset from PRIMARY, when update_status() is called from -changed hooks, it ofter returns a temporary error state. However, that state stay in 'juju status' for cca 5 minutes, until update-status hook is called. This should make -changed hooks wait a bit until the replicaset state of a member changes so that 'juju status' provides more 'recent' info.
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions