We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08fed02 commit 9f72368Copy full SHA for 9f72368
1 file changed
serving/src/main/java/feast/serving/service/RedisServingService.java
@@ -223,7 +223,7 @@ private boolean isStale(
223
}
224
long givenTimestamp = entityRow.getEntityTimestamp().getSeconds();
225
if (givenTimestamp == 0) {
226
- givenTimestamp = System.currentTimeMillis();
+ givenTimestamp = System.currentTimeMillis() / 1000;
227
228
long timeDifference = givenTimestamp - featureRow.getEventTimestamp().getSeconds();
229
return timeDifference > featureSetRequest.getMaxAge().getSeconds();
0 commit comments