leak test number & leak limits

This commit is contained in:
neo-dl 2023-05-12 17:37:25 +02:00
parent 2a7d3e9ec7
commit 1755dad9b4
2 changed files with 3 additions and 1 deletions

View File

@ -225,6 +225,7 @@ try:
def logout(self):
if type(self.main_window.centralWidget) is Test:
self.main_window.centralWidget.change_recipe()
self.main_window.centralWidget.request_autotest("logout")
Users.logout()
self.main_window.admin_m.menuAction().setVisible(False)
self.open_login()

View File

@ -113,7 +113,8 @@ class Test(Widget):
self.autotesting_reason = None
self.autotest_cycle_steps = None
if "--no-autotest" not in sys.argv:
self.autotest_period = 12 * 60 * 60 * 1000
self.autotest_period = 8.5 * 60 * 60 * 1000 # 8.5 HOURS
# self.autotest_period = 12 * 60 * 60 * 1000 # 12 HOURS
if not self.config["autotest_done"]:
self.request_autotest("init")
else: