[FIX] runbot: fix forgotten cleanup

This commit is contained in:
Xavier-Do 2019-10-22 17:18:30 +02:00
parent 18b37d9002
commit a3d908ac03

View File

@ -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