Skip to content

Commit

Permalink
fix (Transformation): get older based on utc
Browse files Browse the repository at this point in the history
  • Loading branch information
hmiyake committed Nov 25, 2024
1 parent cb84f65 commit e6a425f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def export_getTasksToSubmit(self, transName, numTasks, site=""):
submitDict = {}

# Apply a delay to avoid race conditions
older = datetime.datetime.now() - datetime.timedelta(seconds=30)
older = datetime.datetime.utcnow() - datetime.timedelta(seconds=30)

# Retrieve tasks that are ready for submission
res = self.transformationDB.getTasksForSubmission(
Expand Down

0 comments on commit e6a425f

Please sign in to comment.