Skip to content

Commit

Permalink
Merge branch 'tickets/DM-45258'
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Jul 15, 2024
2 parents 52d98c9 + 553c20d commit 7c5304b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ async def main() -> None:
# efdStamp is visit publication, in seconds since 1970-01-01 UTC
if next_visit_message_initial["message"]["private_efdStamp"]:
published = next_visit_message_initial["message"]["private_efdStamp"]
age = time.time() - published
age = round(time.time() - published) # Microsecond precision is distracting
if age > expire:
logging.warning("Message published at %s is %s old, ignoring.",
logging.warning("Message published on %s UTC is %s old, ignoring.",
time.ctime(published),
datetime.timedelta(seconds=age)
)
Expand Down

0 comments on commit 7c5304b

Please sign in to comment.