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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]