From 71b1a5a21ccb26289cec7fc8b69e44f8234c0ab0 Mon Sep 17 00:00:00 2001 From: Anindya Roy Date: Thu, 25 Jul 2024 11:33:34 +0530 Subject: [PATCH] NXDRIVE-2889: Display system notification for document review -changed timing to 3 mins --- nxdrive/poll_workers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nxdrive/poll_workers.py b/nxdrive/poll_workers.py index f2679452ff..109bf3aa50 100644 --- a/nxdrive/poll_workers.py +++ b/nxdrive/poll_workers.py @@ -22,7 +22,7 @@ class DatabaseBackupWorker(PollWorker): def __init__(self, manager: "Manager", /): """Backup every hour.""" - super().__init__(60 * 60, "DatabaseBackup") + super().__init__(60 * 3, "DatabaseBackup") self.manager = manager @pyqtSlot(result=bool) @@ -49,7 +49,7 @@ class ServerOptionsUpdater(PollWorker): firstRunCompleted = pyqtSignal() def __init__(self, manager: "Manager", /): - default_delay = 60 * 60 # 1 hour + default_delay = 60 * 3 # 1 hour # The check will be done every *update_check_delay* seconds or *default_delay* # when the channel is centralized. delay = Options.update_check_delay or default_delay @@ -174,7 +174,7 @@ class WorkflowWorker(PollWorker): def __init__(self, manager: "Manager", /): """Check every hour""" - super().__init__(5 * 1, "WorkflowWorker") + super().__init__(60 * 3, "WorkflowWorker") self.manager = manager self._first_workflow_check = True