aboutsummaryrefslogtreecommitdiff
path: root/mod/module.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-03-30 23:07:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-01 13:13:23 +0300
commit2b2f2dc54856b679e8fd42b053f7361241c0f836 (patch)
treecdba437bf14b65d729ed027869c9ad8041dbe4fd /mod/module.cli
parent8dec2ac658d78d58437d77be08c9f2614c259cc6 (diff)
Invent alternative package rebuild timeout
Diffstat (limited to 'mod/module.cli')
-rw-r--r--mod/module.cli34
1 files changed, 34 insertions, 0 deletions
diff --git a/mod/module.cli b/mod/module.cli
index fa1d2cc..b59158a 100644
--- a/mod/module.cli
+++ b/mod/module.cli
@@ -199,6 +199,40 @@ namespace brep
"Time to wait before considering a package for a normal rebuild. Must
be specified in seconds. Default is 24 hours."
}
+
+ size_t build-alt-rebuild-timeout
+ {
+ "<seconds>",
+ "Alternative package rebuild timeout to use instead of the normal
+ rebuild timeout (see \cb{build-normal-rebuild-timeout} for details)
+ during the time interval specified with the
+ \cb{build-alt-rebuild-start} and \cb{build-alt-rebuild-stop} options.
+ Must be specified in seconds. Default is the time interval length."
+ }
+
+ duration build-alt-rebuild-start
+ {
+ "<hours>:<minutes>",
+ "The start time of the alternative package rebuild timeout (see
+ \cb{build-alt-rebuild-timeout} for details). Must be specified as
+ a time of day in the local timezone. The \cb{build-alt-rebuild-start}
+ and \cb{build-alt-rebuild-stop} options must be either both specified
+ or absent. If unspecified, then no alternative rebuild timeout will
+ be used."
+ }
+
+ duration build-alt-rebuild-stop
+ {
+ "<hours>:<minutes>",
+ "The end time of the alternative package rebuild timeout (see
+ \cb{build-alt-rebuild-timeout} for details). Must be specified as
+ a time of day in the local timezone. If it is less than the
+ \cb{build-alt-rebuild-start} option value, then the time interval
+ extends through midnight. The \cb{build-alt-rebuild-start} and
+ \cb{build-alt-rebuild-stop} options must be either both specified or
+ absent. If unspecified, then no alternative rebuild timeout will be
+ used."
+ }
};
class build_db