Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Dec 17, 2024
1 parent a2464d5 commit 1e3ca19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/controllers/Module/Reposerver/Agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1e3ca19

Please sign in to comment.