testing cache timeout resets without removing the item in question
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 16 Feb 2006 01:49:39 +0000 (01:49 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 16 Feb 2006 01:49:39 +0000 (01:49 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@640 9efc2488-bf62-4759-914b-345cdb29e865

src/libstack/osrf_cache.c

index ff8940d..7936ca0 100644 (file)
@@ -88,7 +88,7 @@ int osrfCacheSetExpire( time_t seconds, char* key, ... ) {
        if( key ) {
                VA_LIST_TO_STRING(key);
                jsonObject* o = osrfCacheGetObject( VA_BUF );
-               osrfCacheRemove(VA_BUF);
+               //osrfCacheRemove(VA_BUF);
                return osrfCachePutObject( VA_BUF, o, seconds );
        }
        return -1;