diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2025-02-14 16:28:57 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2025-02-17 21:31:24 +0200 |
commit | 4f9ab8e952cb16a311bd533842296a5bd2e9cc1c (patch) | |
tree | 8a8de9afc5850867d4847f81d7d9233b62452189 /mod/ci-common.hxx | |
parent | 62a6bd8d6bb576edf76c42db8ffb73fcb0f87fb7 (diff) |
Sleep for some short period of time before retrying after odb::recoverable exception
Also increase the default maximum number of retries for configuration to 20 from 10.
Diffstat (limited to 'mod/ci-common.hxx')
-rw-r--r-- | mod/ci-common.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/ci-common.hxx b/mod/ci-common.hxx index a38ac54..bffccc5 100644 --- a/mod/ci-common.hxx +++ b/mod/ci-common.hxx @@ -120,7 +120,7 @@ namespace brep const basic_mark& warn, const basic_mark* trace, odb::core::database&, - size_t retry, + size_t retry_max, tenant_service&&, duration notify_interval, duration notify_delay, @@ -141,7 +141,7 @@ namespace brep const basic_mark& warn, const basic_mark* trace, odb::core::database&, - size_t retry, + size_t retry_max, tenant_service&&, const repository_location& repository) const; @@ -169,7 +169,7 @@ namespace brep const basic_mark& warn, const basic_mark* trace, odb::core::database&, - size_t retry, + size_t retry_max, const string& type, const string& id, bool ref_count = false) const; @@ -194,7 +194,7 @@ namespace brep const basic_mark* trace, const string& reason, odb::core::database&, - size_t retry, + size_t retry_max, const string& tenant_id) const; // Schedule the re-build of the package build and return the build object @@ -240,7 +240,7 @@ namespace brep // optional<build_state> rebuild (odb::core::database&, - size_t retry, + size_t retry_max, const build_id&, function<optional<string> (const string& tenant_id, const tenant_service&, |