Skip to content

Commit

Permalink
NXDRIVE-2889: Display system notification for document review -change…
Browse files Browse the repository at this point in the history
…d timing to 3 mins
  • Loading branch information
gitofanindya committed Jul 25, 2024
1 parent 8b7580d commit 71b1a5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nxdrive/poll_workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 71b1a5a

Please sign in to comment.