Skip to content

Commit

Permalink
changes execution time to int
Browse files Browse the repository at this point in the history
  • Loading branch information
antleb committed Feb 17, 2024
1 parent 572f06b commit 2b1a306
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public List<Result> query(List<Query> queryList, String orderBy) throws StatsSer
log.debug("result: " + result);
long execTime = new Date().getTime() - start;

statsCache.save(new QueryWithParameters(querySql, parameters, profile), result, execTime);
statsCache.save(new QueryWithParameters(querySql, parameters, profile), result, (int) execTime);
}
} else {
log.debug("Cache disabled for query.");
Expand Down

0 comments on commit 2b1a306

Please sign in to comment.