aboutsummaryrefslogtreecommitdiff
path: root/mod/module.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2025-02-14 14:08:04 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2025-02-17 21:31:24 +0200
commit62a6bd8d6bb576edf76c42db8ffb73fcb0f87fb7 (patch)
tree867897ce90d2b7fe1d62a6c93feb44f4b69d5d1d /mod/module.cli
parent1795263201cc930c349add08aac8cc268796d773 (diff)
Automatically increase build queued timeout for big number of builds in 'queued' notifications
Note that this commit changes the semantics of the tenant::queued_timestamp member. Previously it was set to the time when the build objects are turned into the queued state. Now it is set to the time when the queued notification for them is assumed to be delivered to the third party service.
Diffstat (limited to 'mod/module.cli')
-rw-r--r--mod/module.cli18
1 files changed, 14 insertions, 4 deletions
diff --git a/mod/module.cli b/mod/module.cli
index 57a5f31..f78cd06 100644
--- a/mod/module.cli
+++ b/mod/module.cli
@@ -305,13 +305,23 @@ namespace brep
for the \cb{build-hard-rebuild-timeout} option."
}
- size_t build-queued-timeout = 30
+ size_t build-queued-timeout = 15
{
"<seconds>",
- "Time to wait before assuming the \cb{queued} notifications are
+ "Time to wait before assuming the \cb{queued} notification batch is
delivered for package CI requests submitted via third-party services
- (GitHub, etc). During this time a package is not considered for a
- build. Must be specified in seconds. Default is 30 seconds."
+ (GitHub, etc). Until all such batches are delivered, a package is
+ not considered for a build. Must be specified in seconds. Default
+ is 15 seconds. See also \cb{build-queued-batch}."
+ }
+
+ size_t build-queued-batch = 60
+ {
+ "<num>",
+ "The maximum number of build configurations in the \cb{queued}
+ notification batch for package CI requests submitted via third-party
+ services (see \cb{build-queued-timeout} for details). The default
+ is 60."
}
};