Showing
1 changed file
with
2 additions
and
0 deletions
@@ -19,6 +19,7 @@ const removeBlack = (remoteIp) => { | @@ -19,6 +19,7 @@ const removeBlack = (remoteIp) => { | ||
19 | key10m = `pc:limiter:10m:${remoteIp}`, | 19 | key10m = `pc:limiter:10m:${remoteIp}`, |
20 | keyMax = `pc:limiter:max:${remoteIp}`, | 20 | keyMax = `pc:limiter:max:${remoteIp}`, |
21 | key10mMax = `pc:limiter:10m:max:${remoteIp}`, | 21 | key10mMax = `pc:limiter:10m:max:${remoteIp}`, |
22 | + synchronizeKey = `pc:limiter:synchronize:${remoteIp}`, | ||
22 | spiderKey = `pc:limiter:spider:${remoteIp}`; | 23 | spiderKey = `pc:limiter:spider:${remoteIp}`; |
23 | 24 | ||
24 | return Promise.all([ | 25 | return Promise.all([ |
@@ -26,6 +27,7 @@ const removeBlack = (remoteIp) => { | @@ -26,6 +27,7 @@ const removeBlack = (remoteIp) => { | ||
26 | cache.delAsync(key10m), | 27 | cache.delAsync(key10m), |
27 | cache.delAsync(keyMax), | 28 | cache.delAsync(keyMax), |
28 | cache.delAsync(key10mMax), | 29 | cache.delAsync(key10mMax), |
30 | + cache.delAsync(synchronizeKey), | ||
29 | cache.delAsync(spiderKey) | 31 | cache.delAsync(spiderKey) |
30 | ]); | 32 | ]); |
31 | }; | 33 | }; |
-
Please register or login to post a comment