Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
e42a339dfbf7608df57eef2f2e2aec92aa510cea
1 parent
0f03c422
format
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
doraemon/middleware/limiter/rules/asynchronous.js
doraemon/middleware/limiter/rules/asynchronous.js
View file @
e42a339
...
...
@@ -59,7 +59,7 @@ module.exports = (limiter, policy) => {
}
if
(
results
[
synchronizeKey
]
>
10
&&
!
results
[
asynchronousKey
])
{
cache
.
setAsync
(
spiderKey
,
1
,
60
*
60
*
24
);
cache
.
setAsync
(
spiderKey
,
1
,
60
*
60
*
24
);
return
Promise
.
reject
(
policy
);
}
...
...
Please
register
or
login
to post a comment