Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-fileview
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
梁杰芳
slm-fileview
Commits
6b744d77
Commit
6b744d77
authored
Sep 02, 2019
by
陈精华
Committed by
kl
Sep 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复:RocksDB缓存实现压缩包图片url缓存失效
parent
ba57dede
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CacheServiceRocksDBImpl.java
...cn/keking/service/cache/impl/CacheServiceRocksDBImpl.java
+1
-1
No files found.
jodconverter-web/src/main/java/cn/keking/service/cache/impl/CacheServiceRocksDBImpl.java
View file @
6b744d77
...
@@ -92,7 +92,7 @@ public class CacheServiceRocksDBImpl implements CacheService {
...
@@ -92,7 +92,7 @@ public class CacheServiceRocksDBImpl implements CacheService {
try
{
try
{
Map
<
String
,
List
<
String
>>
imgCacheItem
=
getImgCache
();
Map
<
String
,
List
<
String
>>
imgCacheItem
=
getImgCache
();
imgCacheItem
.
put
(
key
,
value
);
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
)
{
}
catch
(
RocksDBException
|
IOException
e
)
{
LOGGER
.
error
(
"Put into RocksDB Exception"
+
e
);
LOGGER
.
error
(
"Put into RocksDB Exception"
+
e
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment