You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "PragmaTwice (via GitHub)" <gi...@apache.org> on 2023/08/25 11:02:22 UTC
[GitHub] [kvrocks] PragmaTwice commented on a diff in pull request #1702: Add LASTSAVE command
PragmaTwice commented on code in PR #1702:
URL: https://github.com/apache/kvrocks/pull/1702#discussion_r1305517622
##########
src/server/server.h:
##########
@@ -211,6 +211,7 @@ class Server {
void SetLastRandomKeyCursor(const std::string &cursor);
static int GetCachedUnixTime();
+ int GetLastBgsaveTime();
Review Comment:
```suggestion
std::int64_t GetLastBgsaveTime();
```
Seems we can return int64 instead of int to avoid narrow conversion reported in CI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org