Skip to content

Commit

Permalink
fix: stats
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Sep 24, 2024
1 parent 7c2d06e commit 19bfc85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public static int countTotalNumberOfM2MTokensAlive(Start start, AppIdentifier ap
" WHERE app_id = ? AND exp > ?";
return execute(start, QUERY, pst -> {
pst.setString(1, appIdentifier.getAppId());
pst.setLong(2, System.currentTimeMillis());
pst.setLong(2, System.currentTimeMillis()/1000);
}, result -> {
if (result.next()) {
return result.getInt("c");
Expand Down

0 comments on commit 19bfc85

Please sign in to comment.