From a3d908ac038d7ea031671955d8bc060d9cef1b0d Mon Sep 17 00:00:00 2001 From: Xavier-Do Date: Tue, 22 Oct 2019 17:18:30 +0200 Subject: [PATCH] [FIX] runbot: fix forgotten cleanup --- runbot/models/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/models/build.py b/runbot/models/build.py index ad7551aa..b99e36bd 100644 --- a/runbot/models/build.py +++ b/runbot/models/build.py @@ -507,7 +507,7 @@ class runbot_build(models.Model): if os.path.isdir(path) and os.path.isabs(path): shutil.rmtree(path) - cleanup(dest_list=builds, func=rm, max_days=max_days, label='workspace') + cleanup(dest_list=builds, func=rm, max_days_main=max_days_main, max_days_child=max_days_child, label='workspace') def _find_port(self): # currently used port