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: I983008e9cdd46f64ee91712c602712d4eed31714 Closes-Bug: #1628580
This commit is contained in:
parent
854cfbe6b8
commit
cab5e191ad
@ -21,6 +21,8 @@ class magnum::db::sync(
|
|||||||
path => '/usr/bin',
|
path => '/usr/bin',
|
||||||
user => $user,
|
user => $user,
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
|
try_sleep => 5,
|
||||||
|
tries => 10,
|
||||||
logoutput => on_failure,
|
logoutput => on_failure,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user