From 2b2f2dc54856b679e8fd42b053f7361241c0f836 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 30 Mar 2020 23:07:26 +0300 Subject: Invent alternative package rebuild timeout --- mod/module.cli | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'mod/module.cli') 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 + { + "", + "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 + { + ":", + "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 + { + ":", + "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 -- cgit v1.1