Added retries for db_sync
If db sync fails, it is never retried leading to errors. So, this patch adds retries for db_sync to avoid sync fails. Change-Id: Iba2b099c917762ed45192f374d8b67e26ec3664a Closes-Bug: #1628580
This commit is contained in:
parent
33058da39b
commit
51b2044a34
@ -16,6 +16,8 @@ class mistral::db::sync {
|
|||||||
user => 'mistral',
|
user => 'mistral',
|
||||||
logoutput => on_failure,
|
logoutput => on_failure,
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
|
try_sleep => 5,
|
||||||
|
tries => 10,
|
||||||
}
|
}
|
||||||
|
|
||||||
Exec['mistral-db-sync'] -> Exec['mistral-db-populate']
|
Exec['mistral-db-sync'] -> Exec['mistral-db-populate']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user