Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
2017-06-29 17:44:01 +0800
Commit
d1bc621f6a9939de866d56dbbb28a93c1c32d471
1 parent
8c8f9743
'redis-ready'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
doraemon/middleware/redis.js
doraemon/middleware/redis.js
View file @
d1bc621
...
...
@@ -12,7 +12,7 @@ try {
bluebird
.
promisifyAll
(
redis
.
Multi
.
prototype
);
client
.
all
=
args
=>
{
if
(
!
client
.
connected
)
{
if
(
!
client
.
ready
)
{
if
(
Array
.
isArray
(
args
))
{
return
Promise
.
resolve
(
_
.
fill
(
args
,
false
));
}
else
{
...
...
Please
register
or
login
to post a comment