mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 08:00:49 +00:00
useless function removed
This commit is contained in:
parent
c5b6f46132
commit
e09b51869b
2
TODO
2
TODO
@ -20,6 +20,8 @@ DISKSTORE TODO
|
||||
* Fix DBSIZE to really do something interesting
|
||||
* Add a DEBUG command to check if an entry is or not in memory currently
|
||||
|
||||
* dscache.c near 236, kobj = createStringObject... we could use static obj.
|
||||
|
||||
APPEND ONLY FILE
|
||||
================
|
||||
|
||||
|
@ -240,13 +240,6 @@ int cacheFreeOneEntry(void) {
|
||||
return REDIS_OK;
|
||||
}
|
||||
|
||||
/* Return true if it's safe to swap out objects in a given moment.
|
||||
* Basically we don't want to swap objects out while there is a BGSAVE
|
||||
* or a BGAEOREWRITE running in backgroud. */
|
||||
int dsCanTouchDiskStore(void) {
|
||||
return (server.bgsavechildpid == -1 && server.bgrewritechildpid == -1);
|
||||
}
|
||||
|
||||
/* ==================== Disk store negative caching ========================
|
||||
*
|
||||
* When disk store is enabled, we need negative caching, that is, to remember
|
||||
|
Loading…
x
Reference in New Issue
Block a user