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: Ib7162c07542d9c8c81ed35f931a2b91281610774
Related-Bug: #1628580
Closes-Bug: #1645474
(cherry picked from commit 3f8e5d1c54
)
This commit is contained in:
parent
a33199f5f7
commit
4e6375b047
|
@ -25,6 +25,8 @@ class sahara::db::sync(
|
|||
path => '/usr/bin',
|
||||
user => 'sahara',
|
||||
refreshonly => true,
|
||||
try_sleep => 5,
|
||||
tries => 10,
|
||||
logoutput => on_failure,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue