Skip to content

Commit

Permalink
fix(stats): Fixed updating of aggregation bookmarks so that it doesn'…
Browse files Browse the repository at this point in the history
…t create a bookmark in the future
  • Loading branch information
monotasker committed Dec 10, 2024
1 parent 0be83a7 commit 76c543a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def run(
lower_limit = (
start_date
or previous_bookmark
or self._get_oldest_event_timestamp()
or self._get_oldest_event_timestamp() # noqa: E501
)
# FIXME: this is to handle accidentally recording bookmark
# with timezone awareness
Expand Down Expand Up @@ -82,7 +82,7 @@ def run(
)
)
if update_bookmark:
self.bookmark_api.set_bookmark(end_date)
self.bookmark_api.set_bookmark(upper_limit)
return results

# NOTE: debugging statements in delete() may be useful again
Expand Down

0 comments on commit 76c543a

Please sign in to comment.