From 4f9ab8e952cb16a311bd533842296a5bd2e9cc1c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 14 Feb 2025 16:28:57 +0200 Subject: 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. --- mod/module.cli | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mod/module.cli') diff --git a/mod/module.cli b/mod/module.cli index f78cd06..cd7af50 100644 --- a/mod/module.cli +++ b/mod/module.cli @@ -179,12 +179,12 @@ namespace brep 5." } - size_t package-db-retry = 10 + size_t package-db-retry = 20 { "", "The maximum number of times to retry package database transactions in the face of recoverable failures (deadlock, loss of connection, etc). - The default is 10." + The default is 20." } }; @@ -379,12 +379,12 @@ namespace brep 5." } - size_t build-db-retry = 10 + size_t build-db-retry = 20 { "", "The maximum number of times to retry build database transactions in the face of recoverable failures (deadlock, loss of connection, etc). - The default is 10." + The default is 20." } }; -- cgit v1.1