diff --git a/src/controllers/Module/Reposerver/Agent.py b/src/controllers/Module/Reposerver/Agent.py index 6510f6b..851a215 100644 --- a/src/controllers/Module/Reposerver/Agent.py +++ b/src/controllers/Module/Reposerver/Agent.py @@ -86,9 +86,9 @@ def run_general_checks(self): # #----------------------------------------------------------------------------------------------- def on_inotify_change(self, ev): - # If an update is running by linupdate, then do nothing - # if Path('/tmp/linupdate.update-running').is_file(): - # return + # If an update is running by linupdate, then do nothing for now + if Path('/tmp/linupdate.update-running').is_file(): + return # If latest event was less than 120 seconds ago, then do not send again the history # if self.last_inotify_event_time and time.time() - self.last_inotify_event_time < 120: