diff --git a/lib/CP_cache.js b/lib/CP_cache.js index cadd170..2fc7ba6 100644 --- a/lib/CP_cache.js +++ b/lib/CP_cache.js @@ -6,7 +6,6 @@ var LRUCache = require('mnemonist/lru-cache'); var cache = new LRUCache(10000); -var lingTimeCache = new LRUCache(10000); module.exports = { set: function(hash, data, callback) { @@ -28,14 +27,6 @@ module.exports = { getSync: function(hash) { return !process.env['NO_CACHE'] ? cache.get(hash) : undefined; }, - setSyncLing: function(hash, data) { - if (!process.env['NO_CACHE']) { - lingTimeCache.set(hash, data); - } - }, - getSyncLong: function(hash) { - return !process.env['NO_CACHE'] ? lingTimeCache.get(hash) : undefined; - }, flush: function(callback) { process.env.CP_VER = process.env.CP_VER ? parseInt(process.env.CP_VER) + 1