...
|
...
|
@@ -13,7 +13,7 @@ const bodyParser = require('body-parser'); |
|
|
const cookieParser = require('cookie-parser');
|
|
|
const favicon = require('serve-favicon');
|
|
|
const yohoLib = require('yoho-node-lib');
|
|
|
const session = require('express-session');
|
|
|
const session = require('yoho-express-session');
|
|
|
const memcached = require('connect-memcached');
|
|
|
const hbs = require('express-handlebars');
|
|
|
const pkg = require('./package.json');
|
...
|
...
|
@@ -65,7 +65,7 @@ app.use(session({ |
|
|
store: new MemcachedStore({
|
|
|
hosts: config.memcache.session,
|
|
|
prefix: 'yohobuy_session:',
|
|
|
timeout: 100,
|
|
|
timeout: 1000,
|
|
|
retries: 0
|
|
|
})
|
|
|
}));
|
...
|
...
|
|