testing cache timeout resets without removing the item in question
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Feb 2006 01:49:39 +0000 (01:49 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 16 Feb 2006 01:49:39 +0000 (01:49 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3084 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/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;