From 7c61322166eb0eab77ee5fb10031bae616ecb192 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 15 Apr 2024 21:36:02 +0300 Subject: Add support for custom build bots --- clean/clean.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'clean') diff --git a/clean/clean.cxx b/clean/clean.cxx index 55fb59b..828ae4b 100644 --- a/clean/clean.cxx +++ b/clean/clean.cxx @@ -480,8 +480,8 @@ namespace brep auto tenant_ids (pq.execute ()); if ((ne = !tenant_ids.empty ())) { - // Cache tenant ids and erase packages, repositories, and tenants at - // once. + // Cache tenant ids and erase packages, repositories, public keys, and + // tenants at once. // strings tids; tids.reserve (tenant_ids.size ()); @@ -497,6 +497,9 @@ namespace brep db.erase_query ( query::id.tenant.in_range (tids.begin (), tids.end ())); + db.erase_query ( + query::id.tenant.in_range (tids.begin (), tids.end ())); + db.erase_query ( query::id.in_range (tids.begin (), tids.end ())); } -- cgit v1.1