From 3d7f248ee7aa7e5b470cb9bc2fcf76852e798db5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 22 May 2024 19:12:55 +0300 Subject: Make poll interval for unloaded tenant configurable and rename loaded_timestamp tenant member to unloaded_timestamp --- libbrep/build-package.hxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libbrep/build-package.hxx') diff --git a/libbrep/build-package.hxx b/libbrep/build-package.hxx index 2611678..13645eb 100644 --- a/libbrep/build-package.hxx +++ b/libbrep/build-package.hxx @@ -35,11 +35,12 @@ namespace brep // Create tenant for an unloaded CI request (see the build_unloaded() // tenant services notification for details). // - build_tenant (string i, tenant_service s, timestamp l) + build_tenant (string i, tenant_service s, timestamp t, duration n) : id (move (i)), creation_timestamp (timestamp::clock::now ()), service (move (s)), - loaded_timestamp (l) {} + unloaded_timestamp (t), + unloaded_notify_interval (n) {} string id; @@ -48,7 +49,8 @@ namespace brep timestamp creation_timestamp; bool archived = false; optional service; - optional loaded_timestamp; + optional unloaded_timestamp; + optional unloaded_notify_interval; optional queued_timestamp; optional toolchain; -- cgit v1.1