From 6b744d77c7fb1eb64c18cccc7edb0298bc3746b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E7=B2=BE=E5=8D=8E?= <842761733@qq.com> Date: Mon, 2 Sep 2019 17:30:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9ARocksDB=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E5=AE=9E=E7=8E=B0=E5=8E=8B=E7=BC=A9=E5=8C=85=E5=9B=BE?= =?UTF-8?q?=E7=89=87url=E7=BC=93=E5=AD=98=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/keking/service/cache/impl/CacheServiceRocksDBImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jodconverter-web/src/main/java/cn/keking/service/cache/impl/CacheServiceRocksDBImpl.java b/jodconverter-web/src/main/java/cn/keking/service/cache/impl/CacheServiceRocksDBImpl.java index af53190b..e7783592 100644 --- a/jodconverter-web/src/main/java/cn/keking/service/cache/impl/CacheServiceRocksDBImpl.java +++ b/jodconverter-web/src/main/java/cn/keking/service/cache/impl/CacheServiceRocksDBImpl.java @@ -92,7 +92,7 @@ public class CacheServiceRocksDBImpl implements CacheService { try { Map> imgCacheItem = getImgCache(); imgCacheItem.put(key, value); - db.put(REDIS_FILE_PREVIEW_PDF_KEY.getBytes(), toByteArray(imgCacheItem)); + db.put(REDIS_FILE_PREVIEW_IMGS_KEY.getBytes(), toByteArray(imgCacheItem)); } catch (RocksDBException | IOException e) { LOGGER.error("Put into RocksDB Exception" + e); }