From beb69d3c757114ee9da98dbb34f846e04a427b54 Mon Sep 17 00:00:00 2001 From: db0 Date: Fri, 13 Sep 2024 11:53:33 +0200 Subject: [PATCH] test --- horde/classes/base/waiting_prompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horde/classes/base/waiting_prompt.py b/horde/classes/base/waiting_prompt.py index 266bed84..d76d8b68 100644 --- a/horde/classes/base/waiting_prompt.py +++ b/horde/classes/base/waiting_prompt.py @@ -459,13 +459,13 @@ def abort_for_maintenance(self): logger.warning(f"Error when aborting WP. Skipping: {err}") def refresh(self, worker=None): - logger.debug([self.n,worker,worker.extra_slow_worker if worker is not None else None]) if self.n > 0 and worker is not None and worker.extra_slow_worker is True: self.expiry = get_extra_slow_expiry_date() else: new_expiry = get_expiry_date() if self.expiry < new_expiry: self.expiry = new_expiry + logger.debug([self.expiry,self.n,worker,worker.extra_slow_worker if worker is not None else None]) db.session.commit() def is_stale(self):