Skip to content

Commit

Permalink
Convert maxage duration protobuf (#119)
Browse files Browse the repository at this point in the history
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
  • Loading branch information
terryyylim committed Feb 28, 2022
1 parent fb2eed3 commit 1c35e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/feast_spark/pyspark/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def get_health_metrics(
"value"
]
valid_ingestion_time = datetime.timestamp(
datetime.now() - timedelta(seconds=max_age)
datetime.now() - timedelta(seconds=max_age.ToSeconds())
)

# Check if latest ingestion timestamp > cur_time - max_age
Expand Down

0 comments on commit 1c35e78

Please sign in to comment.