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 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7f44751 commit 4d884f6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -222,6 +222,8 @@ public Map<String, Object> stats() {
entry.setTotalHits(rs.getInt("total_hits"));
entry.setSessionHits(rs.getInt("session_hits"));
entry.setPinned(rs.getBoolean("pinned"));
entry.setExecTime(rs.getInt("exectime"));
entry.setProfile(rs.getString("profile"));
} catch (IOException e) {
log.error("Error reading entry", e);
}
@@ -245,6 +247,8 @@ public Map<String, Object> stats() {
entry.setTotalHits(rs.getInt("total_hits"));
entry.setSessionHits(rs.getInt("session_hits"));
entry.setPinned(rs.getBoolean("pinned"));
entry.setExecTime(rs.getInt("exectime"));
entry.setProfile(rs.getString("profile"));
} catch (IOException e) {
log.error("Error reading entry", e);
}
@@ -268,6 +272,8 @@ public Map<String, Object> stats() {
entry.setTotalHits(rs.getInt("total_hits"));
entry.setSessionHits(rs.getInt("session_hits"));
entry.setPinned(rs.getBoolean("pinned"));
entry.setExecTime(rs.getInt("exectime"));
entry.setProfile(rs.getString("profile"));
} catch (IOException e) {
log.error("Error reading entry", e);
}

0 comments on commit 4d884f6

Please sign in to comment.