useless function removed

This commit is contained in:
antirez 2011-03-08 15:10:20 +01:00
parent c5b6f46132
commit e09b51869b
2 changed files with 2 additions and 7 deletions

2
TODO
View File

@ -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
================

View 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