Skip to content

Commit 01a2232

Browse files
author
Ansj
committed
fix double del token
1 parent 7b6075b commit 01a2232

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/org/nlpcn/jcoder/service/TokenService.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ public static Token getToken(String key) {
4646

4747
if (time < 0) {
4848
tokenCache.remove(key);
49-
try {
50-
StaticValue.space().getZk().delete().forPath(SharedSpaceService.TOKEN_PATH + "/" + key);
51-
} catch (Exception e) {
52-
e.printStackTrace();
53-
}
5449
return null;
5550
}
5651

0 commit comments

Comments
 (0)