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
梁志锋
2016-09-09 10:51:30 +0800
Commit
6136d6bc9fa4b196cf97e6da82aa24ac2beb94f5
1 parent
80c33370
业务使用memcached时,要指定超时时间等配置
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
app.js
app.js
View file @
6136d6b
...
...
@@ -66,7 +66,10 @@ app.use(session({
},
store
:
new
MemcachedStore
({
hosts
:
config
.
memcache
.
session
,
prefix
:
'yohobuy_session:'
prefix
:
'yohobuy_session:'
,
timeout
:
100
,
retries
:
0
,
reconnect
:
5000
})
}));
...
...
Please
register
or
login
to post a comment